PT-2026-78550 · Orval · Orval
CVE-2026-71866
·
Published
2026-08-19
·
Updated
2026-09-07
CVSS v4.0
9.3
Critical
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Orval versions 8.19.0 through 8.20.x
Description
Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. A double quote in a schema property name is emitted into the generated
zod.object({...}) schema without safe encoding. This allows attacker-controlled JavaScript to be evaluated when the generated zod schema module is imported, leading to code execution in the developer, CI, test, or application environment. The issue resides in packages/zod/src/index.ts and the zod object-key generation process.Recommendations
Update to version 8.21.0.
Exploit
Fix
RCE
SQL injection
Eval Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Orval