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.
Problem types
Product status
1.82.1
1.82.2
Timeline
| 2026-06-20: | Advisory disclosed |
| 2026-06-20: | VulDB entry created |
| 2026-06-20: | VulDB entry last update |
Credits
Eric-c (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/372560 (VDB-372560 | BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery)
vuldb.com/vuln/372560/cti (VDB-372560 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/cve/CVE-2026-12798 (CVE-2026-12798 | CVE Analysis and Report)
vuldb.com/submit/811290 (Submit #811290 | litellm latest Server-Side Request Forgery (SSRF) (CWE-918))
gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a