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.
Published: 2026-07-08
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

LiteLLM is a proxy server that enables clients to call large language model APIs. A flaw in versions earlier than 1.83.7‐stable allows an authenticated user with permission to upload a skill ZIP archive to embed path traversal entries. When the archive is processed, the server extracts files without properly limiting the destination pathname, permitting the attacker to write files outside the intended extraction or staging directory. This flaw, categorized as CWE‑22, can lead to the modification of files that are not part of the uploaded skill, potentially affecting system configuration or installing malicious code. The vulnerability is limited to local file modification; it does not explicitly grant remote code execution or privilege escalation beyond the files that can be overwritten.

Affected Systems

BerriAI’s LiteLLM proxy server is vulnerable when any version prior to 1.83.7‑stable is running. Users who have enabled skill uploads through the /v1/skills, anthropic_routes, or llm_api_routes API routes are at risk, as those endpoints allow the crafted archives to be submitted by authenticated callers or by keys whose allowed_routes include the mentioned paths.

Risk and Exploitability

The CVSS score of 6.1 indicates moderate severity. The EPSS score is reported as less than 1% and the vulnerability is not listed in the CISA KEV catalog, implying that exploitation is unlikely to be widespread at this time. According to the description, exploitation would involve an authorized user creating a ZIP archive containing traversal paths and submitting it via the vulnerable API routes. Once processed, the malformed paths could overwrite arbitrary files on the host where LiteLLM is running, enabling local file write.

Generated by OpenCVE AI on July 28, 2026 at 09:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade LiteLLM to version 1.83.7‑stable or newer, which incorporates the path traversal fix.
  • Restrict access to the /v1/skills, anthropic_routes, and llm_api_routes endpoints to only trusted users and ensure that any API keys used are limited to safe routes.
  • If a patch cannot be applied immediately, disable or revoke skill‑upload credentials and verify that no malicious archives have been processed.

Generated by OpenCVE AI on July 28, 2026 at 09:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5jmr-gcrj-2c9q LiteLLM: Arbitrary file write via path traversal in Skills archive extraction
History

Thu, 09 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

threat_severity

Important


Wed, 08 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Berriai
Berriai litellm
Vendors & Products Berriai
Berriai litellm

Wed, 08 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
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.
Title LiteLLM: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 6.1, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T14:37:09.457Z

Reserved: 2026-07-07T15:00:50.978Z

Link: CVE-2026-59820

cve-icon Vulnrichment

Updated: 2026-07-09T14:37:04.452Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-08T19:32:11Z

Links: CVE-2026-59820 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-28T09:15:06Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')