CVE-2026-96756

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.
Configurations

No configuration.

History

23 Sep 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-23 17:17

Updated : 2026-09-23 20:17


NVD link : CVE-2026-96756

Mitre link : CVE-2026-96756

CVE.ORG link : CVE-2026-96756


JSON object : View

Products Affected

No product.

CWE
CWE-94

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