CVE-2026-42271: Vulnerability in Litellm
Actively exploited. 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.
Exploited in the wild, PyPI, CWE-78, CWE-77
- Exploitation
- Confirmed 8 Jun 2026
- Severity
- 8.8 of 10
- Attack likelihood
- 7.3 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- Agencies by 22 Jun 2026
Details
- Advisory ID
- GHSA-v4p8-mg3p-g94g
- EU ID
- EUVD-2026-28507
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-78, CWE-77
- Published
- 25 Apr 2026
- Last change
- 26 Oct 2026
- Likelihood rank
- Higher than 95 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Ecosystem
- PyPI
- 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.
Affected products
Affected versions and the first fixed release
- Litellm From 1.74.2 before 1.83.7. Fixed in 1.83.7
- Red Hat Openshift Ai From 2.25 before 2.25.8; From 3.3 before 3.3.4; Version 3.4. Fixed in 2.25.8, 3.3.4
Affected packages
Vulnerable version ranges and fixed releases
- litellm PyPI, Affected from 1.74.2 before 1.83.7. Fixed in 1.83.7
Advisories
Vendor and security advisories
- access.redhat.com/errata/RHSA-2026:27784
- access.redhat.com/errata/RHSA-2026:28960
- access.redhat.com/errata/RHSA-2026:30056
- access.redhat.com/security/cve/CVE-2026-42271
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42271.json
Patches and fixes
Updates, commits and release notes
- github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
- github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g
Related
- Litellm vulnerabilities Recent advisories, watch this product
- Exploited vulnerabilities Explorer, exploited only