CVE-2026-12798
Last modified
CVE-2026-12798 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Litellm | Litellm | <= 1.82.2 |
References
- https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5aExploit, Third Party Advisory
- https://vuldb.com/cve/CVE-2026-12798Third Party Advisory, VDB Entry
- https://vuldb.com/submit/811290Third Party Advisory, Exploit, VDB Entry
- https://vuldb.com/vuln/372560Third Party Advisory, VDB Entry
- https://vuldb.com/vuln/372560/ctiPermissions Required, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-12798?
How severe is CVE-2026-12798?
How do I fix CVE-2026-12798?
Are you affected by CVE-2026-12798?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
