{"cve":"CVE-2026-71865","nvd":{"published":"2026-08-19T18:17:23.450","modified":"2026-09-09T21:20:38.860","status":"Deferred","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 query 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 query request-validation generation. This issue is fixed in version 8.21.0.","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":9.3},"cvss_v3":null,"cwes":["CWE-94","CWE-95","CWE-116"],"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-653q-5476-x79g"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-71865","score":0.00653,"percentile":0.51292,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-653q-5476-x79g","url":"https://osv.dev/vulnerability/GHSA-653q-5476-x79g","summary":"Orval: Import-time RCE via query parameter name -> computed-property-key injection in the zod cli","modified":"2026-09-18T05:30:05.763553989Z","packages":[{"ecosystem":"npm","name":"orval","purl":"pkg:npm/orval","ranges":["<8.21.0"],"fixed":["8.21.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}