Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege LiteLLM credentials
-
DeliverySend crafted spec_path to MCP OpenAPI endpoint
-
ExploitTrigger SSRF in load_openapi_spec_async
-
ExecutionServer fetches internal network resource
-
ImpactExtract response data (e.g., cloud metadata or internal API response)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authentication is required: the CVSS 4.0 vector specifies PR:L (low privilege), meaning the attacker must have at least a valid low-privilege account or API key on the LiteLLM instance. The vulnerable function |
| Impact | The official CVSS 4.0 score is 2.1, which is very low, driven primarily by PR:L (low-privilege authentication required) and uniformly low impact metrics (VC:L/VI:L/VA:L with no subsequent-system impact: SC:N/SI:N/SA:N). The E:P modifier confirms a proof-of-concept exists, which elevates practical exploitability above theoretical. No CISA KEV listing means active in-the-wild exploitation is not confirmed. The vulnerability resides in an explicitly experimental component ( |
| Exploit ScenarioDerived | An authenticated attacker with low-privilege API access to a LiteLLM instance submits a crafted request to the MCP OpenAPI Spec Loader, supplying a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Server-side request forgery in LiteLLM's experimental MCP OpenAPI Spec Loader allows authenticated remote attackers to coerce the server into issuing arbitrary HTTP requests by supplying a malicious spec_path value to the load_openapi_spec_async function. Affected versions are LiteLLM 1.82.0 through 1.82.2 as confirmed by EUVD. A public proof-of-concept exploit exists on GitHub, though the vulnerability is not in CISA KEV and the CVSS 4.0 score of 2.1 with E:P modifier reflects low-severity, authenticated exploitation with a known but apparently limited threat footprint.
RemediationAI
No vendor-released patched version has been identified at time of analysis; the vendor was contacted early per the disclosure statement, but no fix version appears in the available references. Upstream fix availability should be confirmed by monitoring the BerriAI LiteLLM GitHub repository and VulDB advisory at https://vuldb.com/vuln/372560. As an immediate compensating control, operators should disable or restrict access to the experimental MCP server component if it is not required - this eliminates the vulnerable attack surface entirely, with no functional trade-off for deployments not using MCP OpenAPI spec generation. If the feature must remain active, restrict who can invoke load_openapi_spec_async to highly trusted users only, and implement outbound HTTP egress filtering on the LiteLLM host to block requests to internal RFC-1918 addresses and cloud metadata endpoints (e.g., 169.254.169.254). Egress filtering may cause spec-loading failures for legitimate internal OpenAPI specs and should be scoped accordingly. The public POC is available at https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a and can be used to validate remediation effectiveness in a controlled environment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LiteLLM (cpe:2.3:a:berriai:litellm:*:*:*:*:*:*:*:*) is an open-source LLM proxy and gateway framework by BerriAI. The vulnerable code resides in litellm/proxy/_experimental/mcp_server/openapi_to_mcp_generator.py, within the load_openapi_spec_async function, which is part of an experimental Model Context Protocol (MCP) feature for converting OpenAPI specifications into MCP tool definitions. The function accepts a spec_path argument - intended to point to a local or remote OpenAPI spec - without sufficiently validating or restricting the target URL or path. This is classified as CWE-918 (Server-Side Request Forgery), where the server is weaponized into fetching attacker-controlled network resources, potentially exposing internal services, cloud metadata endpoints (e.g., AWS IMDSv1 at 169.254.169.254), or other non-public infrastructure that the LiteLLM host can reach.
Know when Litellm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
SSRF yields scope change (S:C) as the server reaches internal resources; PR:L reflects required authentication; C:L for potential internal data disclosure; no integrity or availability impact confirmed.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 6 pypi packages depend on litellm (5 direct, 1 indirect)
Ecosystem-wide dependent count for version 1.82.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Remote command execution in LiteLLM proxy server versions 1.74.2 through 1.83.6 allows any authenticated user to execute
SQL injection in LiteLLM proxy server versions 1.81.16 through 1.83.6 allows unauthenticated remote attackers to read an
Authentication bypass in LiteLLM (BerriAI) proxy/AI Gateway before 1.84.0 lets a remote unauthenticated attacker reach M
BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. Rated critical s
Remote code execution in BerriAI LiteLLM (all versions through 2026-04-08) enables authenticated attackers to execute ar
BerriAI's litellm, in its latest version, is vulnerable to arbitrary file deletion due to improper input validation on t
Authentication bypass in the LiteLLM proxy lets any party who already holds a valid JWT issued by the configured externa
In berriai/litellm version v1.52.1, an issue in proxy_server.py causes the leakage of Langfuse API keys when an error oc
In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerabi
A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. Rated high severity (CVSS
An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the `/global/spend/logs` en
A code injection vulnerability exists in the berriai/litellm application, version 1.34.6, due to the use of unvalidated
EUVD-2026-38157
GHSA-c693-x898-5g4h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB