CVE-2026-96758 Details
Description
orval @orval/core before 8.28.0 contains a code injection vulnerability in the form-data serializer that fails to escape multipart property names in generated template literals. Attackers can inject ${...} expressions into OpenAPI schema property names that execute as live interpolation when the generated client builds FormData bodies with consumer process privileges.
A code injection vulnerability has been identified in the Orval library, specifically in the form-data serializer of the @orval/core package, in versions prior to 8.28.0. This vulnerability arises because the serializer fails to properly escape property names in multipart data, allowing attackers to inject expressions that are executed as code. When the generated client processes FormData bodies, the injected code is executed with the privileges of the consuming process, potentially leading to unauthorized actions or data access.
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-jwhm-6748-j6pq | CISA-ADP | AdvisoryTechnical AnalysisVendor |
| https://github.com/orval-labs/orval | [email protected] | Vendor |
| https://github.com/orval-labs/orval/blob/v8.27.0/packages/core/src/getters/res-req-types.ts#L808 | [email protected] | Source CodeVendor |
| https://github.com/orval-labs/orval/commit/975a769a76151354dead879feadfa3537ff065fe | [email protected] | Source CodeVendor |
| https://github.com/orval-labs/orval/pull/3988 | [email protected] | Issue TrackingSource CodeVendor |
| https://github.com/orval-labs/orval/security/advisories/GHSA-jwhm-6748-j6pq | [email protected] | AdvisoryTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/orval-orval-core-before-8.28.0-code-injection-via-form-data | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| orval-labs orval | <= 8.27.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 23, 2026 | CVE Modified | CISA-ADP |
| Sep 23, 2026 | New CVE Received | [email protected] |
Volerion