CVE-2026-71864: Orval: Import-time RCE via header parameter name -> computed-property-key injection in the zod client
orval’s zod client emits each header parameter name as a double-quoted key in the generated zod.object({…}) request-validation schema WITHOUT escaping the double quote. A " in the header parameter name closes the key and lands in object-literal context, where an injected computed property key [expr] is evaluated when zod.object({…}) runs – at MODULE IMPORT (export const OpHeader = zod.object({…}) executes on load) -> import-time RCE. The header parameter name is a pure data field. Verified on orval 8.19.0 / Node.
References
- github.com/advisories/GHSA-6437-gxhq-pqv8
- github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6
- github.com/orval-labs/orval/pull/3692
- github.com/orval-labs/orval/releases/tag/v8.21.0
- github.com/orval-labs/orval/security/advisories/GHSA-6437-gxhq-pqv8
- nvd.nist.gov/vuln/detail/CVE-2026-71864
Code Behaviors & Features
Detect and mitigate CVE-2026-71864 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →