CVE-2026-96756 orval before 8.30.0 Code Injection via Factory Generation
CriticalCVSS 9.2
EPSS 0.88%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm orval | < 8.30.0 | 8.30.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm orval | < 8.30.0 | 8.30.0 |
References
- GitHub Security Advisory (GHSA-wx66-36r6-v5g7) vendor-advisory
- github.com issue-tracking patch
- github.com patch
- github.com technical-description
- github.com product
- VulnCheck Advisory: orval before 8.30.0 Code Injection via Factory Generation third-party-advisory
- ENISA EUVD EUVD-2026-85406 third-party-advisory