BerriAI LiteLLM
LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.2high · scored by NVD · CWE-94
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
BerriAI litellm
- < 1.82.0-stable
Fixed in 1.82.0-stable
Mitigation
Upgrade litellm to 1.82.0-stable or later.
References
- Vendor advisory github.com/BerriAI/litellm/security/advisories…
- Patch github.com/BerriAI/litellm/commit/e50b4486d0f7…
- Release notes github.com/BerriAI/litellm/releases/tag/v1.82.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.