Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/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
Network-accessible upload endpoint with low privilege (authenticated key with route scope); no confidentiality impact described; integrity and availability both High due to arbitrary file write.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2Blast Radius
ecosystem impact- 14 pypi packages depend on litellm (12 direct, 2 indirect)
Ecosystem-wide dependent count for version 1.83.7.
DescriptionCVE.org
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.
AnalysisAI
Path traversal in LiteLLM's Skills archive extraction enables authenticated users with access to specific LLM API routes to write arbitrary files outside the intended server extraction directory by uploading a crafted ZIP archive containing path traversal entries. Affected versions are all LiteLLM releases prior to 1.83.7-stable; the CPE confirms the entire berriai/litellm product line is in scope. No public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV, but the integrity and availability impact is rated High in the vendor-provided CVSS 4.0 vector, making this a meaningful risk for any LiteLLM deployment that exposes the Skills upload feature to untrusted authenticated users.
Technical ContextAI
LiteLLM (CPE: cpe:2.3:a:berriai:litellm:*:*:*:*:*:*:*:*) is an open-source AI Gateway proxy that normalizes calls across LLM providers such as OpenAI, Anthropic, and others. The Skills feature allows authenticated callers to upload ZIP archives defining custom skill bundles, which the server extracts to a staging or installation directory. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) describes the root cause: the extraction routine failed to canonicalize or sanitize member file paths within the uploaded ZIP before writing them to disk, allowing entries such as '../../etc/cron.d/evil' to resolve outside the intended target directory. This is a classic Zip Slip vulnerability pattern where archive member names containing path traversal sequences ('..') are written relative to the server's working directory rather than a restricted sandbox.
RemediationAI
Upgrade LiteLLM to version 1.83.7-stable or later; this is the vendor-confirmed fix documented in GitHub release tag v1.83.7-stable, security advisory GHSA-5jmr-gcrj-2c9q, and implemented via commit 6a15adcd64137d37f73dee76dfe7481f8c2d9196 (PR #25475). If an immediate upgrade is not feasible, restrict API key allowed_routes to exclude /v1/skills, anthropic_routes, and llm_api_routes for any key issued to untrusted or externally-facing callers - this eliminates the attack surface since the vulnerability requires access to these specific routes. As a further defense-in-depth measure, run the LiteLLM process under a dedicated low-privilege OS account with write access limited to its own application directories, so that even a successful path traversal cannot overwrite sensitive system files. Note that restricting routes requires modifying key configuration and may break workflows relying on Skills-based functionality.
SQL injection in LiteLLM proxy server versions 1.81.16 through 1.83.6 allows unauthenticated remote attackers to read an
Authentication bypass in LiteLLM (BerriAI) proxy/AI Gateway before 1.84.0 lets a remote unauthenticated attacker reach M
Remote command execution in LiteLLM proxy server versions 1.74.2 through 1.83.6 allows any authenticated user to execute
BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. Rated critical s
Remote code execution in BerriAI LiteLLM (all versions through 2026-04-08) enables authenticated attackers to execute ar
BerriAI's litellm, in its latest version, is vulnerable to arbitrary file deletion due to improper input validation on t
In berriai/litellm version v1.52.1, an issue in proxy_server.py causes the leakage of Langfuse API keys when an error oc
In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerabi
A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. Rated high severity (CVSS
An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the `/global/spend/logs` en
A code injection vulnerability exists in the berriai/litellm application, version 1.34.6, due to the use of unvalidated
berriai/litellm version 1.34.34 is vulnerable to improper access control in its team management functionality. Rated med
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42357
GHSA-5jmr-gcrj-2c9q