GHSA-v4p8-mg3p-g94g · Severity: high · Ecosystem: pip — LiteLLM: Authenticated command execution via MCP stdio test endpoints
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.74.2 to before version 1.83.7, two endpoints used to preview an MCP server before saving it — POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list — accepted a full server configuration in the request body, including the command, args, and env fields used by the stdio transport. When called with a stdio configuration, the endpoints attempted to connect, which spawned the supplied command as a subprocess on the proxy host with the privileges of the proxy process. The endpoints were gated only by a valid proxy API key, with no role check. Any authenticated user — including holders of low-privilege internal-user keys — could therefore run arbitrary commands on the host. This issue has been patched in version 1.83.7.
Conclusion & alert: CVE-2026-42271 is rated High Risk (70/100): CVSS High severity, with medium exploitation likelihood (EPSS 4.12%). Core evidence: EPSS rose +4.09% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-03 | 0.02% | 4.12% | +4.09% |
| 2 | 2026-05-22 | 0.05% | 0.02% | -0.03% |
| 3 | 2026-05-09 | — | 0.05% | — |
Full EPSS history (4 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.7 | 4.0 | HIGH |
|
— | — | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-v4p8-mg3p-g94g · Severity: high · Ecosystem: pip — LiteLLM: Authenticated command execution via MCP stdio test endpoints
| URL | Tags |
|---|---|
| https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable | Product Release Notes |
| https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g | Mitigation Patch Vendor Advisory |