{"id":"CVE-2026-59820","title":"LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format","summary":"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 authen…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","cwe":["CWE-22"],"vendor":"litellm","product":"litellm","affected":["litellm < 1.83.7","litellm = 1.83.7"],"patched":["litellm 1.83.7"],"published":"2026-07-08","updated":"2026-07-13","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-59820","references":[{"url":"https://github.com/BerriAI/litellm/commit/6a15adcd64137d37f73dee76dfe7481f8c2d9196","label":"security-advisories@github.com"},{"url":"https://github.com/BerriAI/litellm/pull/25475","label":"security-advisories@github.com"},{"url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable","label":"security-advisories@github.com"},{"url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q","label":"security-advisories@github.com"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59820"},{"url":"https://github.com/BerriAI/litellm"}],"tags":["nvd","osv","pip"],"epss":0.00587,"epssPercentile":0.45681,"ingestedAt":"2026-07-13T13:27:18.192Z","aliases":["GHSA-5jmr-gcrj-2c9q","PYSEC-2026-3477"],"ecosystem":"pip","slug":"CVE-2026-59820","body":"## Overview\n\nLiteLLM 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.\n\n## Affected\n\n- `litellm < 1.83.7`\n- `litellm = 1.83.7`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `litellm 1.83.7`\n\n## Package advisory (CVE-2026-59820)\n\nAffected packages:\n\n- `litellm < 1.83.7`\n\nPatched in:\n\n- `litellm 1.83.7`\n\nSource: https://osv.dev/vulnerability/GHSA-5jmr-gcrj-2c9q","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}