
🚨Critical - Orval Generated Zod Schema Code Injection RCE (CVE-2026-71866) Orval emits attacker-controlled schema property names containing a double quote into generated zod.object({...}) without escaping, allowing JS injection in the generated Zod schema module. The payload executes on import during build/test/runtime, leading to RCE in dev/CI/app environments. 👉Affected: orval 8.19.0-8.20.x | Upgrade to 8.21.0
Post summary
A critical RCE vulnerability (CVE-2026-71866) in orval allows unescaped schema property names to inject JavaScript, but a patch is available through upgrading to version 8.21.0.
