CVE-2026-96758: Vulnerability in orval @orval/core
Critical. 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.
CWE-94
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-94
- Published
- 23 Sept 2026
- Last change
- 23 Sept 2026
Affected products
Affected versions and the first fixed release
- orval @orval/core Before 8.28.0. Fixed in 8.28.0
Advisories
Vendor and security advisories
- github.com/orval-labs/orval
- github.com/orval-labs/orval/blob/v8.27.0/packages/core/src/getters/res-req-types.ts
- github.com/orval-labs/orval/security/advisories/GHSA-jwhm-6748-j6pq
- vulncheck.com/advisories/orval-orval-core-before-8.28.0-code-injection-via-form-data
Patches and fixes
Updates, commits and release notes
- github.com/orval-labs/orval/commit/975a769a76151354dead879feadfa3537ff065fe
- github.com/orval-labs/orval/pull/3988
Related
- orval @orval/core vulnerabilities Recent advisories, watch this product