{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-72717", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "state": "PUBLISHED", "assignerShortName": "GitHub_M", "dateReserved": "2026-08-10T13:48:09.545Z", "datePublished": "2026-08-19T17:39:23.125Z", "dateUpdated": "2026-08-21T19:44:34.681Z" }, "containers": { "cna": { "title": "Orval: Import-time RCE via schema default -> zod module-level template literal", "problemTypes": [ { "descriptions": [ { "cweId": "CWE-94", "lang": "en", "description": "CWE-94: Improper Control of Generation of Code ('Code Injection')", "type": "CWE" } ] }, { "descriptions": [ { "cweId": "CWE-116", "lang": "en", "description": "CWE-116: Improper Encoding or Escaping of Output", "type": "CWE" } ] }, { "descriptions": [ { "cweId": "CWE-1336", "lang": "en", "description": "CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine", "type": "CWE" } ] } ], "metrics": [ { "cvssV4_0": { "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "baseScore": 9.3, "baseSeverity": "CRITICAL", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "version": "4.0" } } ], "references": [ { "name": "https://github.com/orval-labs/orval/security/advisories/GHSA-w727-8j6c-2rj4", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/orval-labs/orval/security/advisories/GHSA-w727-8j6c-2rj4" }, { "name": "https://github.com/orval-labs/orval/pull/3692", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/orval-labs/orval/pull/3692" }, { "name": "https://github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6" }, { "name": "https://github.com/orval-labs/orval/releases/tag/v8.21.0", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/orval-labs/orval/releases/tag/v8.21.0" } ], "affected": [ { "vendor": "orval-labs", "product": "orval", "versions": [ { "version": "< 8.21.0", "status": "affected" } ] } ], "providerMetadata": { "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2026-08-19T17:39:23.125Z" }, "descriptions": [ { "lang": "en", "value": "Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a ${...} expression or backtick in a schema default is emitted into a module-level template literal emitted by zod schema generation without safe encoding. This permits attacker-controlled JavaScript to be evaluated when the generated zod schema module is imported, resulting in code execution in the developer, CI, test, or application environment. The affected code is packages/zod/src/index.ts function formatDefaultValue. This issue is fixed in version 8.21.0." } ], "source": { "advisory": "GHSA-w727-8j6c-2rj4", "discovery": "UNKNOWN" } }, "adp": [ { "references": [ { "url": "https://github.com/orval-labs/orval/security/advisories/GHSA-w727-8j6c-2rj4", "tags": [ "exploit" ] } ], "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-08-21T19:44:08.757181Z", "id": "CVE-2026-72717", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-08-21T19:44:34.681Z" } } ] } }