CVE-2026-23947: falha crítica em orval-labs orval
Orval MCP client is vulnerable to code injection via unsanitized x-enum-descriptions in enum generation
Publicada em · Atualizada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
28Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 9.3epss 0.8%
Orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification. Versions prior to 7.19.0 until 8.0.2 are vulnerable to arbitrary code execution in environments consuming generated clients. This issue is similar in nature to CVE-2026-22785, but affects a different code path in @orval/core that was not addressed by CVE-2026-22785's fix. The vulnerability allows untrusted OpenAPI specifications to inject arbitrary TypeScript/JavaScript code into generated clients via the x-enumDescriptions field, which is embedded without proper escaping in getEnumImplementation(). I have confirmed that the injection occurs during const enum generation and results in executable code within the generated schema files. Orval 7.19.0 and 8.0.2 contain a fix for the issue.
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
Produtos afetados
orval-labs · orvalCVEs relacionadas — orval-labs orval
No mesmo produto, das mais perigosas para as menos.
CVE-2026-96756CRITICALorval before 8.30.0 Code Injection via Factory GenerationEPSS 0.9%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%CVE-2026-24132HIGHOrval Mock Generation Code Injection via constEPSS 0.7%