PT-2026-78552

CVE-2026-71868

·

Published

2026-08-19

·

Updated

2026-09-21

Description by

CVSS 4.0
9.3
Critical
MetricsAV: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 flaw exists where a ${...} expression or backtick in an enum default is emitted into a module-level template literal during zod schema generation 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 is located in the formatDefaultValue() function within packages/zod/src/index.ts.
Recommendations Update to version 8.21.0.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-3575-W9FC-C2J6
Found an issue in the description? Have something to add? Feel free to write us 👾