Medium severity · published Jul 8, 2026
CVE-2026-59820
LiteLLM: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
6.5
CVSS
0.6%
EPSS
No
On KEV
Description
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.7-stable, LiteLLM Skills archive extraction did not sufficiently validate file paths from uploaded skill ZIP archives, allowing an authenticated user with access to LiteLLM LLM API routes or a key whose allowed_routes includes /v1/skills, anthropic_routes, or llm_api_routes to upload a crafted skill archive containing path traversal entries that could be written outside the intended extraction or staging directory. This issue is fixed in version 1.83.7-stable.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 48% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
litellm · BerriAI
< 1.83.7-stable · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-59820
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-59820
Patch
https://github.com/BerriAI/litellm/commit/6a15adcd64137d37f73dee76dfe7481f8c2d9196
Issue Tracking
https://github.com/BerriAI/litellm/pull/25475
Product
https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
Mitigation
https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q
More from litellm
9.8
CVE-2026-42208
LiteLLM: SQL injection in Proxy API key verification
8.8
CVE-2026-42271
LiteLLM: Authenticated command execution via MCP stdio test endpoints
8.8
CVE-2026-33634
Trivy ecosystem supply chain briefly compromised
8.2
CVE-2026-59822
LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback
9.9
CVE-2026-114612
LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key
