Skip to main content
← All vulnerabilities
CVE-2026-96756

orval before 8.30.0 Code Injection via Factory Generation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.30.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

orval versions before 8.30.0 contain a code injection vulnerability in the @orval/core factory generator that fails to escape date default values in new Date() calls. Attackers can inject arbitrary expressions through apostrophes in OpenAPI schema defaults to execute code with the privileges of the consumer process when factoryMethods and useDates options are enabled.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • orval-labs orval

    fixed in 8.30.0

References 6

GitHub · orval-labs/orval

vulncheck.com