Vulnerability  ·  2026-06-23

LiteLLM MCP Server — Server-Side Request Forgery via _execute_with_mcp_client (CVE-2026-12774)

VulnerabilityMedium impactGlobalCVE-2026-12774
A security vulnerability in BerriAI LiteLLM up to version 1.82.2 allows Server-Side Request Forgery (SSRF) via manipulation of the _execute_with_mcp_client function in litellm/proxy/_experimental/mcp_server/rest_endpoints.py (MCP Server Connection Testing component). CVSS 6.3 Medium; published 2026-06-21.
SSRF in an LLM gateway's MCP Server Connection Testing endpoint allows attackers to pivot from the LiteLLM proxy to internal network services — cloud metadata endpoints (169.254.169.254), internal databases, or other MCP servers — by causing the proxy to make arbitrary outbound connections on the attacker's behalf.
Remote attacker sends a crafted request to the MCP Server Connection Testing endpoint, causing the server to make arbitrary outbound HTTP requests to internal or external targets.
LiteLLM (BerriAI) ≤ 1.82.2 (MCP Server Connection Testing component)
Upgrade LiteLLM to ≥ 1.84.0. NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-12774
Sources
NVD CVE-2026-12774PoC Gist (YLChen-007)
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →