Orval: Import-time RCE via schema property name -> computed-property-key injection in the zod client — GHSA-6MR6-JVCR-2F25
GitHub · GitHub · GHSA-6MR6-JVCR-2F25
ID
GHSA-6MR6-JVCR-2F25
GHSA-6MR6-JVCR-2F25
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
critical
critical
CVSS
9.3
9.3
EPSS
0.00478
0.00478
Summary
### Summary orval's zod client emits each schema property name as a double-quoted key in the generated zod.object({...}) WITHOUT escaping the double quote. A " in a property name closes the key and lands in object-literal context, where an injected computed property key [expr] is evaluated when zod.object({...}) runs -- which is at MODULE IMPORT (the `export const X = zod.object({...})` executes on load) ->…
Timeline
- Published by source
- 2026-09-02
Risk context
- Reported severity or threat level: critical.
- Reported CVSS score: 9.3 out of 10.
- Reported EPSS value: 0.00478.
- Review exposure for the affected product or family: npm: orval.
Product
npm: orval
What to do
General, cautious steps (verify details in the official source):
- Prioritize patching or mitigation immediately (treat as actively risky).
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-6MR6-JVCR-2F25
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-09-02
- Last source activity
- 2026-09-02
- Additional identifiers
- CVE-2026-71866
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.