CVE-2026-59820
MEDIUM 6.1CVSS 4.0LiteLLM: Arbitrary file write via path traversal in Skills archive extraction
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
- 8 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-5jmr-gcrj-2c9qPYSEC-2026-3477
- Sources
- NVDJSONOSV GHSA-5jmr-gcrj-2c9qJSONOSV PYSEC-2026-3477JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.1 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | litellm | litellmcpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* |
< 1.83.7 | 1.83.7 |
| NVD | litellm | litellmcpe:2.3:a:litellm:litellm:1.83.7:rc1:*:*:*:*:*:* |
= 1.83.7 | |
| OSV | PyPI | litellm | < 1.83.7 | 1.83.7 |
References
- https://github.com/BerriAI/litellm/commit/6a15adcd64137d37f73dee76dfe7481f8c2d9196 · Patch, WEB
- https://github.com/BerriAI/litellm/pull/25475 · Issue Tracking, Patch, WEB
- https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable · Product, Release Notes, WEB
- https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q · Mitigation, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59820 · ADVISORY
- https://github.com/BerriAI/litellm · PACKAGE
- https://pypi.org/project/litellm · PACKAGE
- https://github.com/advisories/GHSA-5jmr-gcrj-2c9q · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jul 2026)