CVE-2026-59820: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in BerriAI litellm
CVE-2026-59820 is a path traversal vulnerability in BerriAI's LiteLLM proxy server prior to version 1.83.7-stable. It allows an authenticated user with specific API route access to upload a crafted skill ZIP archive that can extract files outside the intended directory. This issue is fixed in version 1.83.7-stable.
AI Analysis
Technical Summary
LiteLLM, a proxy server for calling LLM APIs, had insufficient validation of file paths during extraction of uploaded skill ZIP archives in versions before 1.83.7-stable. Authenticated users with access to LiteLLM LLM API routes or keys permitting /v1/skills, anthropic_routes, or llm_api_routes could exploit this by uploading a crafted archive containing path traversal entries. This could result in files being written outside the intended extraction or staging directory, potentially leading to unauthorized file overwrite or code execution. The vulnerability is addressed in version 1.83.7-stable.
Potential Impact
An authenticated user with limited privileges to certain API routes could exploit this vulnerability to write files outside the designated directories during skill archive extraction. This could lead to unauthorized file modification or code execution, impacting system integrity and security. The CVSS 4.0 score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, and partial privileges required.
Mitigation Recommendations
Upgrade LiteLLM to version 1.83.7-stable or later, where this path traversal vulnerability has been fixed. No other mitigation is indicated by the vendor advisory. Patch status is confirmed by the version fix stated in the description.
CVE-2026-59820: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in BerriAI litellm
Description
CVE-2026-59820 is a path traversal vulnerability in BerriAI's LiteLLM proxy server prior to version 1.83.7-stable. It allows an authenticated user with specific API route access to upload a crafted skill ZIP archive that can extract files outside the intended directory. This issue is fixed in version 1.83.7-stable.
CVSS v4.0
Score 6.1medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
LiteLLM, a proxy server for calling LLM APIs, had insufficient validation of file paths during extraction of uploaded skill ZIP archives in versions before 1.83.7-stable. Authenticated users with access to LiteLLM LLM API routes or keys permitting /v1/skills, anthropic_routes, or llm_api_routes could exploit this by uploading a crafted archive containing path traversal entries. This could result in files being written outside the intended extraction or staging directory, potentially leading to unauthorized file overwrite or code execution. The vulnerability is addressed in version 1.83.7-stable.
Potential Impact
An authenticated user with limited privileges to certain API routes could exploit this vulnerability to write files outside the designated directories during skill archive extraction. This could lead to unauthorized file modification or code execution, impacting system integrity and security. The CVSS 4.0 score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, and partial privileges required.
Mitigation Recommendations
Upgrade LiteLLM to version 1.83.7-stable or later, where this path traversal vulnerability has been fixed. No other mitigation is indicated by the vendor advisory. Patch status is confirmed by the version fix stated in the description.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-07T15:00:50.978Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4ea889c9d9e3dbe3a5269a
Added to database: 07/08/2026, 19:44:09 UTC
Last enriched: 07/08/2026, 19:59:00 UTC
Last updated: 07/08/2026, 20:34:35 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.