CVE-2026-42271: BerriAI LiteLLM Command Injection Vulnerability
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.
Why it matters
CISA added CVE-2026-42271 to its Known Exploited Vulnerabilities (KEV) catalog on 2026-06-08 — meaning it is confirmed to be exploited in the wild, not just theoretically risky. US federal agencies had to remediate it by 2026-06-22, and it is a high priority for everyone else too.
How to fix it
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Details
- Affected: BerriAI LiteLLM
- Added to CISA KEV: 2026-06-08
- Federal remediation due: 2026-06-22
- Weakness: CWE-78, CWE-77
- EPSS: 91.4% chance of exploitation in the next 30 days, higher than 100% of all CVEs
- Reference: NVD entry for CVE-2026-42271
Affected open-source packages
The GitHub Advisory Database links CVE-2026-42271 to this package. Each page lists every advisory for the package, the affected versions and the fixed release:
- litellm PyPI (Python)
Is CVE-2026-42271 in your fleet?
SkyShield scans your servers, containers and cloud for vulnerable packages and images (Trivy), ranks them by whether they're on CISA KEV and their EPSS exploit probability, and shows the fix per machine. Start free.