CVE-2026-22785CRITICAL 9.8EPSS p48.6%

CVE-2026-22785CVE-2026-22785

Description

orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification. Prior to 7.18.0, the MCP server generation logic relies on string manipulation that incorporates the summary field from the OpenAPI specification without proper validation or escaping. This allows an attacker to "break out" of the string literal and inject arbitrary code. This vulnerability is fixed in 7.18.0.

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS0.71% probability of exploitation · percentile 48.6% · 2026-06-19T12:03:05Z
Published2026-01-12
Last modified2026-02-26

Underlying weaknesses· 1

CWE-77

References

  1. https://github.com/orval-labs/orval/commit/80b5fe73b94f120a3a5561952d6d4b0f8d7e928d
  2. https://github.com/orval-labs/orval/security/advisories/GHSA-mwr6-3gp8-9jmj

1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements used in a Command ('Command Injection')cwe-770%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-24132
CVE
CVE-2026-23947
CVE
CVE-2026-25141
CVE
CVE-2026-33331
CVE
CVE-2025-24297
CVE
CVE-2026-44115
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.