litellm
Affected
- introduced
0, fixed1.83.7(ecosystem)
Fixed versions
1.83.7
Fix
- Fixed version
1.83.7pip install --upgrade litellm==1.83.7
Advisory
Also known as: CVE-2026-59820, GHSA-5jmr-gcrj-2c9q
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:
POST /v1/skills at your reverse proxy or API gateway.Not rated by the source.
0, fixed 1.83.7 (ecosystem)1.83.7
1.83.7pip install --upgrade litellm==1.83.7Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0