CVE-2026-24132: Orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification
CVE-2026-24132 is a critical-severity flaw (CVSS 9.8) affecting orval. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification. Versions 7.19.0 and below and 8.0.0-rc.0 through 8.0.2 allow untrusted OpenAPI specifications to inject arbitrary TypeScript/JavaScript into generated mock files via the const keyword on schema properties. These const values are interpolated into the mock scalar generator (getMockScalar in packages/mock/src/faker/getters/scalar.ts) without pr
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-24132?
orval: upgrade to 7.20.0, 8.0.3. Exact commands for each OS are on this page.
Is CVE-2026-24132 being exploited?
CVE-2026-24132 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-24132 affect?
CVE-2026-24132 affects orval. Severity is critical (CVSS 9.8). Orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification. Versions 7.19.0 and below and 8.0.0-rc.0 through 8.0.2 allow untrusted OpenAPI specifications to inject arbitrary TypeScript/JavaScrip
How urgent is CVE-2026-24132?
Priority 53/100. Critical severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-22785 CRITICAL 9.8 UPGRADE orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification