{"id":"CVE-2026-59820","published":"2026-07-08T19:32:11Z","modified":"2026-07-09T14:37:09Z","title":"LiteLLM: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","vendor":"BerriAI","product":"litellm","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00587,"percentile":0.41998,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/BerriAI/litellm/pull/25475","tags":["x_refsource_MISC"]},{"url":"https://github.com/BerriAI/litellm/commit/6a15adcd64137d37f73dee76dfe7481f8c2d9196","tags":["x_refsource_MISC"]},{"url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":8.4},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"berriai","affectedVersions":[{"vendor":"BerriAI","product":"litellm","versions":["< 1.83.7-stable"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-09T14:36:59.709906Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"litellm","vulnerableRanges":["<1.83.7"],"patched":["1.83.7"],"from":["GHSA-5jmr-gcrj-2c9q","PYSEC-2026-3477"],"provenance":"source"}],"summary":{"text":"LiteLLM, an AI gateway proxy that exposes LLM APIs in OpenAI or native format, has a path traversal flaw in its skill archive extraction logic, which does not sufficiently validate file paths in uploaded skill ZIP archives. An attacker who has an authenticated account with access to LiteLLM's LLM API routes, or a key whose allowed routes include the skills, Anthropic, or LLM API routes, can upload a crafted archive whose traversal entries write files outside the intended extraction or staging directory, with no network position or user interaction beyond that authenticated upload.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:52Z"},"euvd":{"id":"EUVD-2026-42357","exploited":false,"provenance":"source"}}