CVE-2026-12774
BerriAI litellm MCP Server Connection Testing rest_endpoints.py _execute_with_mcp_client server-side request forgery
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.
INFO
Published Date :
June 21, 2026, 4:16 a.m.
Last Modified :
June 24, 2026, 8:24 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | LOW | [email protected] |
Solution
- Update the litellm library to a secure version.
- Apply vendor patches or updates when available.
- Monitor for security advisories from the vendor.
Public PoC/Exploit Available at Github
CVE-2026-12774 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-12774.
| URL | Resource |
|---|---|
| https://gist.github.com/YLChen-007/256c8ff0750e298f89b6b287c90c2981 | Exploit Third Party Advisory |
| https://vuldb.com/cve/CVE-2026-12774 | Third Party Advisory VDB Entry |
| https://vuldb.com/submit/811285 | Third Party Advisory Exploit VDB Entry |
| https://vuldb.com/vuln/372516 | Third Party Advisory VDB Entry |
| https://vuldb.com/vuln/372516/cti | Permissions Required VDB Entry |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-12774 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-12774
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
The Project shares all information on MCP related CVE's published
mcp mcp-security mcp-cve
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-12774 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-12774 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jun. 24, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* versions up to (including) 1.82.2 Added Reference Type VulDB: https://gist.github.com/YLChen-007/256c8ff0750e298f89b6b287c90c2981 Types: Exploit, Third Party Advisory Added Reference Type VulDB: https://vuldb.com/cve/CVE-2026-12774 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/submit/811285 Types: Exploit, Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/vuln/372516 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/vuln/372516/cti Types: Permissions Required, VDB Entry -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 22, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-12774', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-22T10:57:26.092177Z'} -
New CVE Received by [email protected]
Jun. 21, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*'], 'vendor': 'BerriAI', 'modules': ['MCP Server Connection Testing'], 'product': 'litellm', 'versions': [{'status': 'affected', 'version': '1.82.0'}, {'status': 'affected', 'version': '1.82.1'}, {'status': 'affected', 'version': '1.82.2'}]}] Added 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. Added CVSS V4.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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L Added CVSS V2 (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CWE CWE-918 Added Reference https://gist.github.com/YLChen-007/256c8ff0750e298f89b6b287c90c2981 Added Reference https://vuldb.com/cve/CVE-2026-12774 Added Reference https://vuldb.com/submit/811285 Added Reference https://vuldb.com/vuln/372516 Added Reference https://vuldb.com/vuln/372516/cti