CISA adds CVE‑2026‑42271 command‑injection to KEV

The 30-Second Skim
- What happened: CISA listed a high‑severity command‑injection flaw in BerriAI’s LiteLLM (CVE‑2026‑42271) as actively exploited in the wild, prompting urgent patches and highlighting a dangerous exploit chain with a Starlette host‑header bypass.
- Key facts & numbers: CISA added CVE‑2026‑42271 to its KEV catalog, labeling it high severity (CVSS 8.7) and citing evidence of active exploitation. LiteLLM versions 1.74.2 through 1.83.6 are vulnerable to command injection via the POST /mcp‑rest/test/connection and POST /mcp‑rest/test/tools/list endpoints, which spawn supplied commands as subprocesses on the proxy host. BerriAI said the vulnerable endpoints were protected only by a valid proxy API key, so any authenticated user—including privileged internal keys—could execute arbitrary commands.
- What happens next: CISA’s KEV entry flags a rare case where a Python‑AI gateway’s test endpoints become a backdoor, and the hidden Starlette bypass turns an authenticated flaw into unauthenticated RCE.
- CISA added CVE‑2026‑42271 to its KEV catalog, labeling it high severity (CVSS 8.7) and citing evidence of active exploitation.
- LiteLLM versions 1.74.2 through 1.83.6 are vulnerable to command injection via the POST /mcp‑rest/test/connection and POST /mcp‑rest/test/tools/list endpoints, which spawn supplied commands as subprocesses on the proxy host.
- BerriAI said the vulnerable endpoints were protected only by a valid proxy API key, so any authenticated user—including privileged internal keys—could execute arbitrary commands.
- CVE‑2026‑42271 was patched in LiteLLM 1.83.7, which now requires the PROXY_ADMIN role for the test endpoints, aligning them with the save endpoint’s protection.
Why It Matters
Enterprises and developers using LiteLLM must upgrade to version 1.83.7 or later, or risk remote command execution by any authenticated user and, via the Starlette bypass, unauthenticated attackers. The KEV listing indicates active exploitation, urging immediate mitigation to protect model provider credentials and downstream AI infrastructure.
Sources Cited
Related Coverage
Ask SkimNews