Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain LiteLLM API key with Skills route access
-
DeliveryCraft ZIP archive with path traversal member entries
-
ExploitPOST crafted archive to /v1/skills upload endpoint
-
ExecutionServer extracts ZIP without path sanitization
-
PersistTraversal entries write files outside extraction sandbox
-
ImpactOverwrite application or OS files for integrity or availability impact
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to possess a valid LiteLLM API key whose allowed_routes configuration includes at least one of: /v1/skills, anthropic_routes, or llm_api_routes. This is an explicitly configured per-key permission, not granted by default to all authenticated users. The LiteLLM Skills feature must be enabled and reachable on the target deployment. Exploitation is limited to authenticated users (CVSS PR:L) - unauthenticated attackers cannot reach the upload endpoint. The CVSS AT:P metric confirms a specific attack requirement: possession of a key with the relevant route scope. Deployments that do not use the Skills feature or that restrict Skills route access to internal service identities are not realistically at risk despite the network-accessible vector. |
| Impact | The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H) scores 6.1 (Medium). The AT:P (Attack Requirements: Present) metric is the key moderating factor - exploitation requires the attacker to hold an authenticated API key whose allowed_routes explicitly includes /v1/skills, anthropic_routes, or llm_api_routes, which is a non-default, operator-controlled permission. The integrity and availability impacts are both High, reflecting that successful exploitation enables arbitrary file writes that could overwrite configuration files, plant malicious scripts, or disrupt the application. No EPSS score was provided in the intelligence, and no CISA KEV listing exists, consistent with no confirmed in-the-wild exploitation. There is no conflicting signal between the CVSS vector and the description - the network-accessible upload endpoint and low-privilege requirement are coherent. Real-world priority is moderate: organizations whose LiteLLM deployments grant Skills route access to externally-facing or untrusted API keys should treat this as urgent; deployments where Skills routes are restricted to internal service accounts face substantially lower risk. |
| Exploit ScenarioDerived | An attacker holding a LiteLLM API key with access to the /v1/skills route constructs a ZIP archive containing a file with a path such as '../../app/litellm/startup.py' (or another sensitive application or OS path), then submits it to the Skills upload endpoint. The server extracts the archive without sanitizing the traversal sequences, overwriting the target file with attacker-controlled content. No public proof-of-concept code has been identified, but the Zip Slip technique is well-documented and straightforward to implement against unpatched path extraction routines. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Litellm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
1DescriptionCVE.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.
Blast Radius
ecosystem impact- 11 pypi packages depend on litellm (11 direct, 0 indirect)
Ecosystem-wide dependent count for version 1.83.7.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote command execution in LiteLLM proxy server versions 1.74.2 through 1.83.6 allows any authenticated user to execute
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
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
Authentication bypass in the LiteLLM proxy lets any party who already holds a valid JWT issued by the configured externa
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
EUVD-2026-42357
GHSA-5jmr-gcrj-2c9q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB