{"id":"EUVD-2026-62602","revision":null,"records":[{"revision":"c90d08c6db344b92b69ce4b4b21c4644","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-71864","aliases":[],"title":"Orval: Import-time RCE via header parameter name -> computed-property-key injection in the zod client","description":"Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a double quote in a header parameter name is emitted into the generated request-validation zod.object({...}) schema 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 and header request-validation generation. This issue is fixed in version 8.21.0.","state":0,"publishedAt":"2026-08-19T17:34:55.34+00:00","modifiedAt":"2026-08-25T02:21:34.265+00:00","affected":[{"ecosystem":"Vendor product","name":"orval","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"orval-labs\",\n                    \"product\": \"orval\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 8.21.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":9.3,"severity":"CRITICAL"}],"references":["https://github.com/orval-labs/orval/security/advisories/GHSA-6437-gxhq-pqv8","https://github.com/orval-labs/orval/pull/3692","https://github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6","https://github.com/orval-labs/orval/releases/tag/v8.21.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-71864","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-71864","identifiers":["CVE-2026-71864"]},"retained":false,"historicalAffected":[]},{"revision":"2ebac8c2ae09431e8e1c034daccee738","observedAt":"2026-11-13T17:02:56.473+00:00","statement":{"source":"euvd","id":"EUVD-2026-62602","aliases":["CVE-2026-71864","GHSA-6437-gxhq-pqv8"],"title":"Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a double quote in a header parameter name is emitted into the generated request-validation zod.object({...}) schema w…","description":"Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a double quote in a header parameter name is emitted into the generated request-validation zod.object({...}) schema 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 and header request-validation generation. This issue is fixed in version 8.21.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"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","score":9.3,"severity":null}],"references":["https://github.com/orval-labs/orval/security/advisories/GHSA-6437-gxhq-pqv8","https://github.com/orval-labs/orval/pull/3692","https://github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6","https://github.com/orval-labs/orval/releases/tag/v8.21.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-62602","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 19, 2026, 5:34:55 PM","dateUpdated":"Aug 25, 2026, 2:21:34 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-62602","identifiers":["EUVD-2026-62602","CVE-2026-71864","GHSA-6437-gxhq-pqv8"]},"retained":false,"historicalAffected":[]},{"revision":"fd1e54d0037341fdbd6ed5b73e738dfc","observedAt":"2026-10-25T15:19:03.401+00:00","statement":{"source":"nvd","id":"CVE-2026-71864","aliases":[],"title":"Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a double quote in a header parameter name is emitted into the generated request-validation zod.object({...}) schema w…","description":"Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a double quote in a header parameter name is emitted into the generated request-validation zod.object({...}) schema 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 and header request-validation generation. This issue is fixed in version 8.21.0.","state":0,"publishedAt":"2026-08-19T18:17:23.313+00:00","modifiedAt":"2026-09-09T21:20:38.86+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":9.3,"severity":"CRITICAL"}],"references":["https://github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6","https://github.com/orval-labs/orval/pull/3692","https://github.com/orval-labs/orval/releases/tag/v8.21.0","https://github.com/orval-labs/orval/security/advisories/GHSA-6437-gxhq-pqv8"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-71864","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-94","CWE-95","CWE-116"],"productCriteria":[],"sourceDates":{"published":"2026-08-19T18:17:23.313","lastModified":"2026-09-09T21:20:38.860"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-71864","identifiers":["CVE-2026-71864"]},"retained":false,"historicalAffected":[]},{"revision":"6d76cabf601e4a13bc92dfdc4b59305c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-6437-gxhq-pqv8","aliases":["CVE-2026-71864"],"title":"Orval: Import-time RCE via header parameter name -> computed-property-key injection in the zod client","description":"### Summary\n\norval's zod client emits each header parameter name as a double-quoted key in the generated zod.object({...}) request-validation schema WITHOUT escaping the double quote. A \" in the header parameter name closes the key and lands in object-literal context, where an injected computed property key [expr] is evaluated when zod.object({...}) runs -- at MODULE IMPORT (export const OpHeader = zod.object({...}) executes on load) -> import-time RCE. The header parameter name is a pure data field. Verified on orval 8.19.0 / Node.\n\n### Details\n\nexport const OpHeader = zod.object({ \"a\":zod.string(),[require(\"fs\").writeFileSync(\"PWNED\",\"\")]:zod.string(),\"b\": ... })\n\nAlso affects the hono client (reuses zod generation). orval escapes values in zod arrays but not keys in zod.object. Sibling fields: schema property name, query parameter name (CVE-96) (separate reports). Distinct from orval's $ref / route-path / server-url / zod-default findings.\n\n### PoC\n\nreproduce.sh (+ make_spec.py) attached: a header parameter name that breaks the zod.object key and injects a computed key; evaluating it (= importing the module) writes the marker. Verified on 8.19.0.\n\n### Impact\n\nJavaScript / OS command execution at import time for anyone who generates an orval zod client from an attacker-controlled spec and imports it. \n\n### Suggested fix\n\nEscape the header parameter name for the JS string key (JSON.stringify) in the zod.object key generation; never interpolate a raw name adjacent to [ ] in object-literal position.","state":0,"publishedAt":"2026-09-03T18:08:31+00:00","modifiedAt":"2026-09-18T05:30:05.7824591+00:00","affected":[{"ecosystem":"npm","name":"orval","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"8.21.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/orval-labs/orval/security/advisories/GHSA-6437-gxhq-pqv8","https://nvd.nist.gov/vuln/detail/CVE-2026-71864","https://github.com/orval-labs/orval/pull/3692","https://github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6","https://github.com/orval-labs/orval","https://github.com/orval-labs/orval/releases/tag/v8.21.0"],"sourceUrl":"https://github.com/advisories/GHSA-6437-gxhq-pqv8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-6437-gxhq-pqv8","identifiers":["GHSA-6437-gxhq-pqv8","CVE-2026-71864"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-15T04:30:55.4263644+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T04:30:55.4263644+00:00","lastSuccessAt":"2026-11-15T04:30:55.5752625+00:00","error":null,"lastVerifiedAt":"2026-11-15T04:30:55.5752636+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-7de4d7559a5263003f03d9f70577ab06f92ba4178309f26fce53e22a4a959294-b872efafa1f7ba70ab3a71a2f5dd75eb28928bf5b30db695cd68920ed9e1ed90","complete":true,"records":425770,"lastAttemptAt":"2026-11-15T04:30:54.3370272+00:00","lastSuccessAt":"2026-11-15T04:30:54.3276081+00:00","error":null,"lastVerifiedAt":"2026-11-15T04:30:54.3370272+00:00","snapshotPublishedAt":"2026-11-15T04:29:38+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-64ee20b7705a482fbacb0380edd18cd6","complete":false,"records":13821,"lastAttemptAt":"2026-11-15T04:31:23.016623+00:00","lastSuccessAt":"2026-11-15T04:31:23.1025948+00:00","error":null,"lastVerifiedAt":"2026-11-15T04:31:23.1025948+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-15T04:30:55.4263644+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T04:30:55.4263644+00:00","lastSuccessAt":"2026-11-15T04:30:55.5792123+00:00","error":null,"lastVerifiedAt":"2026-11-15T04:30:55.5792157+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b4e16143cf664d0aa856e1009c943b33","complete":false,"records":13833,"lastAttemptAt":"2026-11-15T04:31:03.3484812+00:00","lastSuccessAt":"2026-11-15T02:30:50.077+00:00","error":"15 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-15T02:30:50.077+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13859,"expectedIdentifiers":13874,"failedIdentifiers":15},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-15T04:30:54.9962457+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T04:30:54.9962457+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-15T04:30:54.5009016+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T04:30:54.5009016+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-012aff9b2fb349d53e2c4bace6ca57956b6f5f9d82c1dc9fdc1c9b3c738f8977","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T04:30:55.3850754+00:00","lastSuccessAt":"2026-11-14T04:57:03.8279646+00:00","error":null,"lastVerifiedAt":"2026-11-15T04:30:55.3850754+00:00","snapshotPublishedAt":"2026-11-14T03:02:50+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-deb41cb32d3b3d67de7960b1647d789a5218551d33a54a4b027ba315bcba590f","complete":true,"records":232473,"lastAttemptAt":"2026-11-15T04:30:54.8874578+00:00","lastSuccessAt":"2026-11-15T01:46:53.6377511+00:00","error":null,"lastVerifiedAt":"2026-11-15T04:30:54.8874578+00:00","snapshotPublishedAt":"2026-11-15T00:48:23+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}