What’s Vulnerable › Vulnerabilities

CVE-2026-96755: orval @orval/effect 8.14.0 through 8.28.1 Code Injection

Description

orval versions 8.14.0 through 8.28.1 contain a code injection vulnerability in the @orval/effect generator that converts OpenAPI schema defaults into template literals. Attackers can inject arbitrary JavaScript expressions via schema defaults containing ${...} syntax, which are executed at module scope when the generated code is built or imported.

Affected products

How to fix

Upgrade to a fixed version: orval-labs orval 8.29.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-96755 or the next vulnerability affects your stack