LiteLLM: Arbitrary file write via path traversal in Skills archive extraction
Impact
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.
Patches
The issue is fixed in 1.83.7-stable.
LiteLLM recommens upgrading to 1.83.7-stable or later.
Workarounds
If upgrading is not immediately possible:
- Block
POST /v1/skillsat your reverse proxy or API gateway. - Restrict Skills API access to trusted users only.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | litellm | < 1.83.7 | 1.83.7 |
Odnośniki
- https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q
- https://nvd.nist.gov/vuln/detail/CVE-2026-59820
- https://github.com/BerriAI/litellm/pull/25475
- https://github.com/BerriAI/litellm/commit/6a15adcd64137d37f73dee76dfe7481f8c2d9196
- https://github.com/BerriAI/litellm
- https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
- https://pypi.org/project/litellm
- https://github.com/advisories/GHSA-5jmr-gcrj-2c9q
- Wektor CVSS
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- Słabość (CWE)
CWE-22- Platforma
- Python (PyPI)
- Paczka
litellm- Ujawniono
- 22.07.2026
- Aktualizacja
- 11.10.2026 15:17
Źródła i licencje
OSV / GitHub Advisory Database - PYSEC-2026-3477 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-5jmr-gcrj-2c9q - CC BY 4.0
Historia podatności: litellm
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 42
- Pierwsza → ostatnia
- 04.2024 09.2026
- Bez poprawki
- 14
- Wykorzystywana w atakach
- 3
Rozkład istotności
- Krytyczna 7
- Wysoka 17
- Średnia 8
- Niska 9
- Nieoceniona 1
Ujawnienia w latach
- 2024: 8
- 2025: 6
- 2026: 28
-
LiteLLM: Arbitrary file write via path traversal in Skills archive extraction ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.