PoC Monitor
← All CVEs
CVE-2026-22785published 12 Jan 2026 18:43 UTCData: JSON · API

Orval-labs orval

orval MCP client is vulnerable to a code injection attack.

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.

First public PoC 4.6 daysafter publication · 17 Jan 2026
Public PoCs11 on GitHub
CVSS9.8critical · scored by NVD · CWE-77
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

orval-labs orval
  • < 7.18.0

Fixed in 7.18.0

Mitigation

Upgrade orval to 7.18.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published12 Jan 2026 · t = 0First public PoC17 Jan 2026 · t+4.6d

First public PoC 4.6 days after publication; not in CISA KEV. First PoC: langbyyi/CVE-2026-22785 (created 17 Jan 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
langbyyi/CVE-2026-22785 17 Jan 2026 +4.6 d 1 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.