{"id":"CVE-2026-59820","state":"PUBLISHED","title":"LiteLLM: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"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.","publishedAt":"2026-07-08T19:32:11.739Z","updatedAt":"2026-07-09T14:37:09.457Z","severity":{"score":6.1,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["BerriAI litellm"],"affected":[{"vendor":"BerriAI","product":"litellm","versions":[{"version":"< 1.83.7-stable","status":"affected"}]}],"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"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59820.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59820","state":"PUBLISHED","datePublished":"2026-07-08T19:32:11.739Z","dateUpdated":"2026-07-09T14:37:09.457Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-07T15:00:50.978Z"},"containers":{"cna":{"title":"LiteLLM: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"BerriAI","product":"litellm","versions":[{"version":"< 1.83.7-stable","status":"affected"}]}],"references":[{"url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q","name":"https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/BerriAI/litellm/pull/25475","name":"https://github.com/BerriAI/litellm/pull/25475","tags":["x_refsource_MISC"]},{"url":"https://github.com/BerriAI/litellm/commit/6a15adcd64137d37f73dee76dfe7481f8c2d9196","name":"https://github.com/BerriAI/litellm/commit/6a15adcd64137d37f73dee76dfe7481f8c2d9196","tags":["x_refsource_MISC"]},{"url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable","name":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-08T19:32:11.739Z"},"source":{"advisory":"GHSA-5jmr-gcrj-2c9q","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-09T14:36:59.709906Z","id":"CVE-2026-59820","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-09T14:37:09.457Z"}}]}}}