| Component | LiteLLM |
| Severity | high (CVSS 7.2) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published (NVD) | 2026-07-08 |
| Last modified | 2026-10-25 |
| Affected versions | < 1.82.0 from the GitHub-reviewed advisory GHSA-72m8-9m7m-h278 |
| Fixed in | 1.82.0 |
| Weakness | CWE-94 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's analysis gives the same ranges as the GitHub-reviewed advisory GHSA-72m8-9m7m-h278.
NVD description
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.82.0-stable, LiteLLM's Custom Code Guardrails production create and update paths did not apply the same sandboxing and validation used by the test endpoint, allowing a privileged user with access to create or update guardrails to submit custom Python code that executed in the LiteLLM proxy environment and could expose secrets available to the process. This issue is fixed in version 1.82.0-stable.
What to do
- Upgrade LiteLLM to
1.82.0or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-59821
- https://github.com/BerriAI/litellm/security/advisories/GHSA-72m8-9m7m-h278
- https://github.com/BerriAI/litellm/commit/e50b4486d0f7aa0497185a1ebcdd2c91f1769eba
- https://github.com/BerriAI/litellm/releases/tag/v1.82.0-stable