CVE-2026-96755

Summary

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 Software

VendorProductVersion RangeStatus
orval-labsorval8.14.0 < 8.29.0affected
orval-labsorval8.29.0unaffected

Weaknesses

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: total

Additional References

References