CVE-2026-96756

CRITICAL CVSS 4.0: 9.2 EPSS 0.48%
Updated Sep 23, 2026
orval
Parameter Value
CVSS 9.2 (CRITICAL)
Affected Versions before 8.30.0
Type CWE-94 (Code Injection)
Vendor orval
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)