All vulnerabilities

Servers and applications

CVE-2026-59820

Arbitrary file write via path traversal in Skills archive extraction

Severity
Medium 6.1
Published
30 Jun 2026
Last changed
25 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.83.7, 1.83.7-stable
Exploit chance
0.6% in the next 30 daysHigher than 48% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Change data · Take it down
CVSS 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/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
Also known as
GHSA-5jmr-gcrj-2c9q
Sources
NVD, Project advisories (GitHub)

Description

LiteLLM Skills archive extraction did not sufficiently validate file paths from uploaded skill ZIP archives. 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, could upload a crafted skill archive containing path traversal entries.

When the skill was processed for execution, those entries could be written outside the intended extraction/staging directory. This could allow arbitrary file write and may lead to code execution depending on deployment configuration and writable paths.

From BerriAI/litellm's security advisory.

Workarounds

If upgrading is not immediately possible:

  • Block POST /v1/skills at your reverse proxy or API gateway.
  • Restrict Skills API access to trusted users only.
Workarounds as given by BerriAI/litellm's security advisory.

Affected software

SoftwareAffected versions
LiteLLMServers and applications · cpe:a:litellm:litellm
  • Every version before 1.83.7
  • Version 1.83.7-rc1
LiteLLMServers and applications · github:berriai/litellm
  • Every version before 1.83.7-stable

About LiteLLM

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

From its GitHub repository.
Weekly downloads (PyPI)
23,483,590PyPI Stats, 15 Nov 2026
GitHub stars
63,271GitHub, 15 Nov 2026
Forks
13,287GitHub, 15 Nov 2026
Latest release
v1.109.1GitHub, 15 Nov 2026
Released
12 Nov 2026GitHub
First published on GitHub
27 Jul 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-59820
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-59820
  • GitHub Advisory Database https://github.com/advisories/GHSA-5jmr-gcrj-2c9q
  • github.com https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q