CISA list

As of , CVE-2026-42271 in BerriAI LiteLLM is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

CVE-2026-42271

BerriAI LiteLLM: Command Injection. Exploited, and in our Patch this week group.

Our patch-first group

Patch this week

  • Metasploit module
  • EPSS 0.91

CISA's required action

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Patch infofixed versions and vendor advice

What to install

  • Affects BerriAI litellm from 1.74.2 before 1.83.7.

    Fixed in 1.83.7.

Vendor advice

Vendor advice: github.com, from CISA's entry.

EPSS score
0.91
Higher than 99% of the CVEs EPSS scores.

EPSS estimates the chance of exploitation activity in the next 30 days.

Exploited
Yes CISA listed it on 8 June 2026
US federal deadline
22 June 2026 14 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS when listed
0.04 on 8 June 2026 EPSS on the day CISA listed it.
Public exploit
1 Metasploit module

In software packages

Affected packages

Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.

  • litellmPyPI

    Affects litellm from 1.74.2 before 1.83.7.

    Fixed in 1.83.7.

    Advisory GHSA-v4p8-mg3p-g94g and PYSEC-2026-2599

Since listing

EPSS since listing

0.000.501.000.50: EPSS line for Patch this weekListed by CISAEPSS model v2026.06.151 Jul1 Aug1 Sep1 Oct1 Nov0.000.501.00Listed by CISAEPSS model v2026.06.151 Jul1 Sep1 Nov

EPSS for CVE-2026-42271 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.

Show the numbers
FromEPSS
0.04
0.61
0.54
0.75
0.76
0.80
0.83
0.84
0.13
0.93
0.91

Timeline

What happened when

  1. The CVE record was published.
  2. CISA added it to its list of exploited vulnerabilities.
  3. The US federal deadline to fix it.

CISA's required action

What CISA says to do

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Read further: CISA's catalog

The flaw

What the flaw is

BerriAI LiteLLM contains a command injection vulnerability that could allow any authenticated user, including holders of low-privilege internal-user keys, to run arbitrary commands on the host.

CISA's description

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.

The CVE record's description, from GitHub_M

CVE published
8 May 2026
Assigned by
GitHub_M
CVSS
8.7 High (CVSS 4.0, from the CNA)
CWE-77
Improper Neutralization of Special Elements used in a Command
CWE-78
Improper Neutralization of Special Elements used in an OS Command
CISA SSVC, exploitation
active
CISA SSVC, automatable
no
CISA SSVC, technical impact
total

Public exploits

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Metasploit
BerriAI LiteLLM Proxy MCP Test Endpoint Command Execution
exploit module, rank excellent

Same product

LiteLLM: other exploited entries

Other exploited LiteLLM entries
VulnerabilityProductOur groupListedDeadlineEPSS
CVE-2026-40217Unprotected Alternate ChannelLiteLLMPatch nowNewDue0.78
CVE-2026-42208SQL InjectionLiteLLMPatch this weekMetasploitDue0.89
CVE-2026-59822Improper AuthenticationLiteLLMPatch soonDue0.01
Sources
  • CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
  • CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
  • EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0