A weakness has been identified in BerriAI litellm up to 1.82.2.
- CVSS
- 6.3Medium
- Chance of exploitation (EPSS)
- —
- Published
- Jun 21, 2026
- In the news
- Not yet
What to do
A moderate server-side request forgery flaw in Litellm that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Berriai Litellm
- 1.82.0; 1.82.1; 1.82.2
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-12798 published (CVSS 6.3) (Jun 21, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Sun, Jun 21, 2026
- CVECVE-2026-12798 published (CVSS 6.3)CVE Program · 10:16 UTC
References 5
- gist.github.com Exploit /YLChen-007/c1104c529975699ba347feedfbe02c5a
- vuldb.com Exploit /submit/811290
- vuldb.com /cve/CVE-2026-12798
- vuldb.com /vuln/372560
- vuldb.com /vuln/372560/cti