CVE-2026-42271: BerriAI LiteLLM Command Injection Vulnerability

In short

CVE-2026-42271 is a vulnerability in BerriAI LiteLLM that attackers are exploiting. It could allow any authenticated user, including holders of low-privilege internal-user keys, to run arbitrary commands on the host. CISA added it to its Known Exploited Vulnerabilities catalog on 8 Jun 2026, and US federal agencies had to fix it by 22 Jun 2026. CISA has not linked it to ransomware campaigns.

What is CVE-2026-42271?

CISA describes it as: 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.

Weakness: CWE-78, CWE-77.

Is CVE-2026-42271 being exploited?

Yes. CISA adds a vulnerability to the catalog only when it has evidence of exploitation in the wild, and it added CVE-2026-42271 on . CISA has not linked it to ransomware campaigns.

FIRST's EPSS model puts the chance of exploitation in the next 30 days at 7.3%, higher than 95% of scored CVEs (as of 29 Nov 2026).

How severe is CVE-2026-42271?

NVD scores it 8.7 (high) on CVSS 4.0. CVSS measures how bad a flaw is; EPSS and the KEV listing say how likely it is to be used.

How do you fix CVE-2026-42271?

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.

Vendor guidance: github.com, github.com.

US federal agencies had until . For everyone else that date is a ceiling, not a target.

Which versions are affected?

CISA's catalog does not list version numbers. The vendor advisory and the NVD record list the affected and fixed versions.

Sources

  1. CISA Known Exploited Vulnerabilities catalog: CVE-2026-42271
  2. NIST National Vulnerability Database: CVE-2026-42271
  3. CVE record
  4. FIRST Exploit Prediction Scoring System (EPSS)
  5. github.com
  6. github.com

Data last updated · Compiled by Rokkhe Research from CISA, FIRST and NVD. This page uses the NVD API and is not endorsed or certified by the NVD.

Put your attack surface on the record.

Agree the scope, see a real finding, leave with a quote.

Scope approved first. Evidence with every finding.