PT-2026-78549 · Orval · Orval

CVE-2026-71865

·

Published

2026-08-19

·

Updated

2026-09-03

CVSS v4.0

9.3

Critical

VectorAV: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
Name of the Vulnerable Software and Affected Versions Orval versions prior to 8.21.0
Description Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. A double quote in a query parameter name is emitted into the generated request-validation 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 query request-validation generation.
Recommendations Update to version 8.21.0.

Exploit

Fix

RCE

Improper Encoding or Escaping of Output

Code Injection

Eval Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-71865
GHSA-653Q-5476-X79G

Affected Products

Orval