What’s Vulnerable › Vulnerabilities
CVE-2026-12798: BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery
- Severity: medium (CVSS 6.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-06-21 · updated 2026-10-25
- Weakness: CWE-918
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
- BerriAI litellm: through 1.82.2
References
- https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a
- https://vuldb.com/cve/CVE-2026-12798
- https://vuldb.com/submit/811290
- https://vuldb.com/vuln/372560
- https://vuldb.com/vuln/372560/cti
Get alerted when CVE-2026-12798 or the next vulnerability affects your stack