Vulnerability record · CVE-2026-12798 · published 21 June 2026
CVE-2026-12798: Litellm server-side request forgery (ssrf) vulnerability
Litellm · Litellm
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.
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.
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:
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a | ExploitThird Party Advisory |
| https://vuldb.com/cve/CVE-2026-12798 | Third Party AdvisoryVDB Entry |
| https://vuldb.com/submit/811290 | Third Party AdvisoryExploitVDB Entry |
| https://vuldb.com/vuln/372560 | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/372560/cti | Permissions RequiredVDB Entry |
Track CVE-2026-12798 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-12798), CISA KEV, FIRST EPSS (scores of 2026-10-09). This page is refreshed as NVD updates the record.