← Back to search

CVE-2026-96756

8.1 HIGHpublic exploit available

Published 2026-09-23 · Updated 2026-09-23

AI risk analysis

Summary
The flaw allows attackers to inject arbitrary expressions via date default values in OpenAPI schema defaults, leading to code execution with the consumer process privileges.
Exploitability
Exploitation requires control over OpenAPI schema defaults and enabling specific factory options, making it moderately hard.
Blast radius
If exploited, the vulnerability could lead to full compromise of the consumer process, potentially affecting the entire system.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to orval version 8.30.0 or later.
rcecode-injectionwebapi

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-94

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.