๐Ÿ” CVE Alert

CVE-2026-96756

HIGH 8.1

orval before 8.30.0 Code Injection via Factory Generation

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-94
Vendor orval-labs
Product orval
Published Sep 23, 2026
Stay Ahead of the Next One

Get instant alerts for orval-labs orval

Be the first to know when new high vulnerabilities affecting orval-labs orval are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

orval-labs / orval
0 < 8.30.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/orval-labs/orval/security/advisories/GHSA-wx66-36r6-v5g7 github.com: https://github.com/orval-labs/orval/pull/4038 github.com: https://github.com/orval-labs/orval/commit/b9b083576943c683540200eb957feced57dddc1a github.com: https://github.com/orval-labs/orval/blob/v8.29.0/packages/core/src/generators/factory.ts#L493 github.com: https://github.com/orval-labs/orval vulncheck.com: https://www.vulncheck.com/advisories/orval-before-8.30.0-code-injection-via-factory-generation

Credits

Enrik Mustafa