CVE-2026-59821Litellm
Low 2.1
Follow: this CVE · Litellm · Litellm We alert you by email or Slack (account required).
- Priority
- 13
- CVSS 4.0
- 2.1
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 8, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.82.0-stable, LiteLLM's Custom Code Guardrails production create and update paths did not apply the same sandboxing and validation used by the test endpoint, allowing a privileged user with access to create or update guardrails to submit custom Python code that executed in the LiteLLM proxy environment and could expose secrets available to the process. This issue is fixed in version 1.82.0-stable.
What to do
- Apply the vendor's security update for Litellm.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | litellm |
< 1.82.0 |
1.82.0 |
pip install "litellm>=1.82.0" |
| PyPI | litellm |
< 1.82.0 |
1.82.0 |
pip install "litellm>=1.82.0" |
Per OSV / GitHub Advisories (GHSA-72m8-9m7m-h278, PYSEC-2026-3478). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| litellm | litellm | < 1.82.0 |
| litellm | litellm | 1.82.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product Release Notes
- github.com Mitigation Patch Vendor Advisory