CVE Explorer
CVE-2026-22785
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"orval","vendor":"orval-labs","versions":[{"status":"affected","version":"< 7.18.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:0030f24949440b02cf5e80a6f747d9142e37da7d1be78619465c304048263469 · sha256:f8286e929d3e9529… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":9.3,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:0030f24949440b02cf5e80a6f747d9142e37da7d1be78619465c304048263469 · sha256:f8286e929d3e9529… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-77","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0030f24949440b02cf5e80a6f747d9142e37da7d1be78619465c304048263469 · sha256:f8286e929d3e9529… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/orval-labs/orval/commit/80b5fe73b94f120a3a5561952d6d4b0f8d7e928d","tags":["x_refsource_MISC"],"url":"https://github.com/orval-labs/orval/commit/80b5fe73b94f120a3a5561952d6d4b0f8d7e928d"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0030f24949440b02cf5e80a6f747d9142e37da7d1be78619465c304048263469 · sha256:f8286e929d3e9529… · /containers/cna/references/1
{"name":"https://github.com/orval-labs/orval/security/advisories/GHSA-mwr6-3gp8-9jmj","tags":["x_refsource_CONFIRM"],"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-mwr6-3gp8-9jmj"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0030f24949440b02cf5e80a6f747d9142e37da7d1be78619465c304048263469 · sha256:f8286e929d3e9529… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.