# CVE-2026-59820: LiteLLM: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-08 · Modified: 2026-07-09
- Aliases: GHSA-5jmr-gcrj-2c9q, PYSEC-2026-3477
- Record: https://cvemate.com/vulnerability/CVE-2026-59820 · JSON: https://cvemate.com/vulnerability/CVE-2026-59820/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.41%, percentile 37.33%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- berriai litellm: \< 1.83.7-stable
- litellm litellm: \< 1.83.7 \| 1.83.7:rc1
- PyPI litellm (PyPI): \< 1.83.7

## References

- <https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q>
- <https://github.com/BerriAI/litellm/pull/25475>
- <https://github.com/BerriAI/litellm/commit/6a15adcd64137d37f73dee76dfe7481f8c2d9196>
- <https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59820>
- <https://github.com/BerriAI/litellm>
- <https://pypi.org/project/litellm>
- <https://github.com/advisories/GHSA-5jmr-gcrj-2c9q>

---

Data as of 2026-12-05T08:24:42.005Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
