CVE-2026-12798: Server-Side Request Forgery in BerriAI 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.
AI Analysis
Technical Summary
CVE-2026-12798 is a server-side request forgery vulnerability in BerriAI litellm affecting versions 1.82.0 through 1.82.2. The vulnerability resides in the load_openapi_spec_async function within litellm/proxy/_experimental/mcp_server/openapi_to_mcp_generator.py, specifically in the MCP OpenAPI Spec Loader component. By manipulating the spec_path argument, an attacker can cause the server to make unintended requests, potentially accessing internal resources or services. The vulnerability is remotely exploitable and public exploit code has been released. The vendor was notified early, but no official fix or remediation level has been published as of the data provided.
Potential Impact
The SSRF vulnerability allows an attacker with low privileges to induce the server to make arbitrary HTTP requests. This can lead to unauthorized access to internal systems or services that are otherwise inaccessible externally. The CVSS 4.0 score of 5.3 (medium severity) reflects limited impact due to required privileges and low complexity of attack but with potential for information disclosure or further exploitation. There is no indication of known active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting network access from the affected component to sensitive internal resources and monitor for unusual outbound requests. Avoid exposing the vulnerable function to untrusted inputs where possible.
CVE-2026-12798: Server-Side Request Forgery in BerriAI litellm
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 v4.0
Score 5.3medium
Affected software
cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-12798 is a server-side request forgery vulnerability in BerriAI litellm affecting versions 1.82.0 through 1.82.2. The vulnerability resides in the load_openapi_spec_async function within litellm/proxy/_experimental/mcp_server/openapi_to_mcp_generator.py, specifically in the MCP OpenAPI Spec Loader component. By manipulating the spec_path argument, an attacker can cause the server to make unintended requests, potentially accessing internal resources or services. The vulnerability is remotely exploitable and public exploit code has been released. The vendor was notified early, but no official fix or remediation level has been published as of the data provided.
Potential Impact
The SSRF vulnerability allows an attacker with low privileges to induce the server to make arbitrary HTTP requests. This can lead to unauthorized access to internal systems or services that are otherwise inaccessible externally. The CVSS 4.0 score of 5.3 (medium severity) reflects limited impact due to required privileges and low complexity of attack but with potential for information disclosure or further exploitation. There is no indication of known active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting network access from the affected component to sensitive internal resources and monitor for unusual outbound requests. Avoid exposing the vulnerable function to untrusted inputs where possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-06-20T17:12:20.743Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a37b9055ae2df37ef7fc32a
Added to database: 06/21/2026, 10:12:21 UTC
Last enriched: 06/21/2026, 10:12:40 UTC
Last updated: 06/21/2026, 11:18:53 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.