CVE-2026-59820
MEDIUMLiteLLM: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Title source: cnaDescription
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.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q
X_Refsource_Misc x_refsource_misc
https://github.com/BerriAI/litellm/pull/25475
X_Refsource_Misc x_refsource_misc
https://github.com/BerriAI/litellm/commit/6a15adcd64137d37f73dee76dfe7481f8c2d9196
X_Refsource_Misc x_refsource_misc
https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
Scores
CVSS v3
6.5
EPSS
0.0031
EPSS Percentile
23.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-22
Status
published
Products (4)
BerriAI/litellm
< 1.83.7-stable
litellm/litellm
1.83.7 rc1
litellm/litellm
< 1.83.7
pypi/litellm
0 - 1.83.7PyPI
Published
Jul 08, 2026
Tracked Since
Jul 09, 2026