CVE-2026-96755 Details
Description
orval versions 8.14.0 through 8.28.1 contain a code injection vulnerability in the @orval/effect generator that converts OpenAPI schema defaults into template literals. Attackers can inject arbitrary JavaScript expressions via schema defaults containing ${...} syntax, which are executed at module scope when the generated code is built or imported.
A code injection vulnerability has been identified in the Orval tool, specifically in versions 8.14.0 through 8.28.1. This vulnerability resides within the '@orval/effect' generator, which processes OpenAPI schema defaults. The issue allows attackers to inject arbitrary JavaScript expressions into schema defaults using the '${...}' syntax. When the generated code is built or imported, these expressions are executed at the module scope, potentially leading to unauthorized code execution.
Users can upgrade to Orval version 8.29.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 23, 2026CISA-ADP
Assessed Sep 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/orval-labs/orval/security/advisories/GHSA-q7f2-jg6j-r867 | CISA-ADP | AdvisoryTechnical AnalysisVendor |
| https://github.com/orval-labs/orval | [email protected] | Vendor |
| https://github.com/orval-labs/orval/blob/v8.28.1/packages/effect/src/index.ts#L298-L302 | [email protected] | Source CodeVendor |
| https://github.com/orval-labs/orval/commit/d346d94a660e50a2f8d0f7c17fee2c4c69d8dc23 | [email protected] | Source CodeVendor |
| https://github.com/orval-labs/orval/pull/3995 | [email protected] | Issue TrackingVendor |
| https://github.com/orval-labs/orval/security/advisories/GHSA-q7f2-jg6j-r867 | [email protected] | AdvisoryTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/orval-orval-effect-8.14.0-through-8.28.1-code-injection | [email protected] | AdvisoryBundle |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| orval | >= 8.14.0, < 8.29.0 (semver) |
CPE
Remediation
| |
| orval-labs/orval | >= 8.14.0, < 8.29.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 23, 2026 | New CVE Received | [email protected] |
| Sep 23, 2026 | CVE Modified | CISA-ADP |
Volerion