All reports
Medium

litellm: BerriAI litellm: Server-Side Request Forgery in MCP Server Connection Testing

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-12774

Probability of exploitation in the next 30 days: 0.40%

FIRST EPSS · 2026-11-18

Description

A security vulnerability has been detected in BerriAI litellm up to 1.82.2. Affected by this vulnerability is the function _execute_with_mcp_client of the file litellm/proxy/_experimental/mcp_server/rest_endpoints.py of the component MCP Server Connection Testing. The manipulation leads to server-side request forgery. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure.

A flaw was found in BerriAI litellm. A remote attacker could exploit a Server-Side Request Forgery (SSRF) vulnerability in the MCP Server Connection Testing component. This flaw, specifically within the _execute_with_mcp_client function, allows an attacker to trick the server into making unauthorized requests to internal or external resources, potentially leading to information disclosure or access to restricted services.