CVE-2026-71867: critical vulnerability in orval-labs orval
Orval: RCE via schema property name -> computed-property-key injection in the MSW mock generator
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9.3epss 0.7%
Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a single quote in a schema property name is emitted into single-quoted object keys in generated MSW mock factories without safe encoding. This permits attacker-controlled JavaScript to be evaluated when the generated mock factory is called by tests or an MSW handler, resulting in code execution in the developer, CI, test, or application environment. The affected code is packages/core/src/getters/keys.ts function getKey and MSW mock generation. This issue is fixed in version 8.21.0.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
orval-labs · orvalRelated CVEs — orval-labs orval
In the same product, most dangerous first.
CVE-2026-96756CRITICALorval before 8.30.0 Code Injection via Factory GenerationEPSS 0.9%CVE-2026-23947CRITICALOrval MCP client is vulnerable to code injection via unsanitized x-enum-descriptions in enum generationEPSS 0.8%CVE-2026-96757CRITICALorval before 8.29.0 Code Injection via unescaped OpenAPI media-typeEPSS 0.8%CVE-2026-96758CRITICALorval @orval/core before 8.28.0 Code Injection via Form-DataEPSS 0.8%CVE-2026-96755CRITICALorval @orval/effect 8.14.0 through 8.28.1 Code InjectionEPSS 0.8%CVE-2026-22785CRITICALorval MCP client is vulnerable to a code injection attack.EPSS 0.8%