Quick answers
- Is CVE-2026-59820 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-59820 being exploited in the wild.
- How severe is CVE-2026-59820?
- Medium severity, with a CVSS score of 4, published 8 July 2026.
- Which products and versions are affected?
- Berriai LiteLLM < 1.83.7-stable; litellm (PyPI) ECOSYSTEM:introduced=0,fixed=1.83.7.
- Is there a fix for CVE-2026-59820?
- Yes. litellm (PyPI): upgrade to 1.83.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-59820 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-59820?
- Check whether you run Berriai LiteLLM or litellm (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- litellm (PyPI): upgrade to 1.83.7 or later
pip install "litellm>=1.83.7"
Technical details
A path traversal vulnerability (CWE-22) exists in LiteLLM's Skills archive extraction mechanism. The application fails to sufficiently validate file paths within uploaded ZIP archives. An authenticated attacker with access to the `/v1/skills` route (or keys with `llm_api_routes` or `anthropic_routes` permissions) can upload a crafted archive containing '../' sequences. When the server processes the skill for execution, it extracts files outside the intended staging directory. Depending on the environment's permissions, this arbitrary file write can be leveraged to overwrite system files or configuration, potentially leading to remote code execution (RCE). The issue is resolved in version 1.83.7-stable.
Affected products
- BerriAI LiteLLM < 1.83.7-stable
Identifiers
- CVE-2026-59820
- GHSA-5jmr-gcrj-2c9q
- PYSEC-2026-3477
Timeline
- 2026-06-30: disclosed: Initial disclosure by jaydns
- 2026-07-08: advisory: NVD publication
- 2026-07-22: advisory: GitHub Advisory published
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
- https://api.github.com/repos/BerriAI/litellm/security-advisories/GHSA-5jmr-gcrj-2c9q