SSRF in Berriai Litellm
CVE-2026-12798
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.004, 34.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Berriai Litellm — versions 1.82.0, 1.82.1, 1.82.2
- Litellm
Weakness classification (CWE)
References
- VDB-372560 | BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-372560 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- CVE-2026-12798 | CVE Analysis and Report (Third Party Advisory, VDB Entry, third-party-advisory)
- Submit #811290 | litellm latest Server-Side Request Forgery (SSRF) (CWE-918) (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a (Exploit, Third Party Advisory, exploit)