CVE-2026-12798
CVE-2026-12798 — BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery
A weakness has been identified in BerriAI litellm up to 1.82.2. Affected by this vulnerability is the function load_openapi_spec_async of the file litellm/proxy/_experimental/mcp_server/openapi_to_mcp_generator.py of the component MCP OpenAPI Spec Loader. This manipulation of the argument spec_path causes server-side request forgery. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure.
Published Updated Sources: cvelistV5, VulDB
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.3
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.3 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-918
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /proxy/_experimental/mcp_server/openapi_to_mcp_generator.py.
References
5 on the record
- vuldb.com/vuln/372560
vdb-entry, technical-description
- vuldb.com/vuln/372560/cti
signature, permissions-required
- vuldb.com/cve/CVE-2026-12798
third-party-advisory
- vuldb.com/submit/811290
third-party-advisory
- gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a
exploit
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-42208 LiteLLM: SQL injection in Proxy API key verificationCVSS 9.8 · CISA KEV
- CVE-2026-42271 LiteLLM: Authenticated command execution via MCP stdio test endpointsCVSS 8.8 · CISA KEV
- CVE-2026-40217 BerriAI LiteLLM Unprotected Alternate Channel VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2026-33634 Trivy ecosystem supply chain briefly compromisedCVSS 8.8 · CISA KEV
- CVE-2026-59822 LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbackCVSS 8.2 · CISA KEV
- CVE-2026-93355 LiteLLM Weak JWT Authentication via Email-Based User LookupCVSS 8.1
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.