orval before 8.29.0 Code Injection via unescaped OpenAPI media-type
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
orval before 8.29.0 fails to escape OpenAPI media-type keys when emitting them into single-quoted Content-Type string literals in generated code. Attackers can inject JavaScript through crafted media-type keys in OpenAPI specifications that executes when generated fetch operations or mock resolvers are invoked.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| orval-labs | orval | 6.7.1 to before 8.29.0 | 8.29.0 | Patch available | CNA |
- orval Vendororval-labs Affected 6.7.1 to before 8.29.0 Fixed in 8.29.0 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:orval:orval:*:*:*:*:*:*:*:* | — | — | orval-labs |
- cpe:2.3:a:orval:orval:*:*:*:*:*:*:*:* Versions — — ·orval-labs
Remediation
- Fix · CNA orval (orval-labs) Fixed in 8.29.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
orval-labs orval 8.29.0
4 records Highest priority Priority HIGH 3 HIGH, 1 MEDIUM
Other records, highest priority first
- TI-2026-63855 orval before 8.29.0 Code Injection via operationIdPriority HIGH 81
- TI-2026-63850 orval @orval/hono before 8.29.0 Code Injection via OpenAPI PathPriority HIGH 81
- TI-2026-63851 orval @orval/effect 8.14.0 through 8.28.1 Code InjectionPriority MEDIUM 49
Timeline
- 2026-10-02 Threatist record created from CVE-2026-96757
- 2026-10-03 Alias added: GHSA-2hg7-crf6-4xp2
- 2026-10-25 EPSS moved to the 50th–90th percentile
References
Patch 3
Advisory 2
More orval-labs vulnerabilities
- TI-2026-63855 orval before 8.29.0 Code Injection via operationId CVSS 4.0CRITICAL 9.3
- TI-2026-63854 orval @orval/core before 8.28.0 Code Injection via Form-Data CVSS 4.0CRITICAL 9.3
- TI-2026-63850 orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path CVSS 4.0CRITICAL 9.3
- TI-2026-50952 Orval: Import-time RCE via schema default -> zod module-level template literal CVSS 4.0CRITICAL 9.3
- TI-2026-50951 Orval: Import-time RCE via query-parameter default -> zod module-level template literal CVSS 4.0CRITICAL 9.3
- TI-2026-50190 Orval: Import-time RCE via array-items default -> zod module-level template literal CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-96757 · CVE Program
- CVE-2026-96757 · NVD
- FIRST EPSS
- GHSA-2hg7-crf6-4xp2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences