CVE-2026-59820 Details
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.
A path traversal vulnerability has been identified in LiteLLM, a proxy server for calling LLM APIs in OpenAI format. This issue affects versions prior to 1.83.7-stable. The vulnerability arises because the Skills archive extraction process did not properly validate file paths from uploaded ZIP archives. As a result, an authenticated user with access to LiteLLM LLM API routes, or a key that includes /v1/skills, anthropic_routes, or llm_api_routes, could upload a manipulated skill archive with path traversal entries. These entries could be written outside the designated extraction or staging directory, potentially leading to arbitrary file writes. Depending on the deployment configuration and the paths that are writable, this could even result in code execution.
Users are advised to upgrade to LiteLLM version 1.83.7-stable or later. If an immediate upgrade is not possible, it is recommended to block POST requests to /v1/skills at the reverse proxy or API gateway, and to restrict Skills API access to trusted users only.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/BerriAI/litellm/commit/6a15adcd64137d37f73dee76dfe7481f8c2d9196 | [email protected] | Patch |
| https://github.com/BerriAI/litellm/pull/25475 | [email protected] | Issue TrackingPatch |
| https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable | [email protected] | ProductRelease Notes |
| https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q | [email protected] | MitigationPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| litellm litellm | < 1.83.7 1.83.7 rc1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 13, 2026 | Initial Analysis | [email protected] |
| Jul 9, 2026 | CVE Modified | CISA-ADP |
| Jul 8, 2026 | New CVE Received | [email protected] |