CVE-2026-96756
JSON

9.2critical

orval before 8.30.0 Code Injection via Factory Generation

Severity
9.2critical CVSS:4.0 by VulnCheck
Exploit likelihood
0.88% (higher than 57% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
orval-labs orvalbefore 8.30.0
Not affected: 8.30.0
CVE List

All scores

VulnCheck9.2critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-96756 changed 2026-09-23CVE Terms of Use
NVDCVE-2026-96756 changed 2026-09-23Public domain