Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-5jmr-gcrj-2c9q

Опубликовано: 22 июл. 2026
Источник: github
Github: Прошло ревью
CVSS4: 6.1

Описание

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:

  1. Block POST /v1/skills at your reverse proxy or API gateway.
  2. Restrict Skills API access to trusted users only.

Пакеты

Наименование

litellm

pip
Затронутые версииВерсия исправления

< 1.83.7

1.83.7

EPSS

Процентиль: 24%
0.00313
Низкий

6.1 Medium

CVSS4

Дефекты

CWE-22

Связанные уязвимости

CVSS3: 8.1
redhat
26 дней назад

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.

CVSS3: 6.5
nvd
26 дней назад

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.

EPSS

Процентиль: 24%
0.00313
Низкий

6.1 Medium

CVSS4

Дефекты

CWE-22