CVE-2026-96755 PUBLISHED

orval @orval/effect 8.14.0 through 8.28.1 Code Injection

Assigner: VulnCheck
Reserved: 23.09.2026 Published: 23.09.2026 Updated: 23.09.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor orval-labs
Product orval
Versions Default: unaffected
  • affected from 8.14.0 to 8.29.0 (excl.)
  • Version 8.29.0 is unaffected

Credits

  • Enrik Mustafa finder

References

Problem Types

  • Improper Control of Generation of Code ('Code Injection') CWE