CVE-2026-12798: A weakness has been identified in BerriAI litellm up to 1.82.2
CVE-2026-12798 is a medium-severity flaw (CVSS 6.3) affecting litellm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 use
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 66%) |
| CISA exploited list | No |
| Weakness | CWE-918 |
| Published | 2026-06-21 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-12798?
litellm: upgrade to newer than 1.82.2. Exact commands for each OS are on this page.
Is CVE-2026-12798 being exploited?
CVE-2026-12798 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-12798 affect?
CVE-2026-12798 affects litellm. Severity is medium (CVSS 6.3). 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 OpenA
How urgent is CVE-2026-12798?
Priority 36/100. Public exploit reference
Related CVEs
- CVE-2026-49468 CRITICAL 9.8 UPGRADE LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format
- CVE-2026-12773 HIGH 7.3 UPGRADE A weakness has been identified in BerriAI litellm up to 1.59.8
- CVE-2026-12795 HIGH 7.3 UPGRADE A vulnerability was determined in BerriAI litellm up to 1.82.2
- CVE-2026-12796 MEDIUM 6.3 UPGRADE A vulnerability was identified in BerriAI litellm up to 1.82.2
- CVE-2026-12770 MEDIUM 5.4 UPGRADE A vulnerability was determined in BerriAI litellm up to 1.63.1