CVE-2026-59821

LOW CVSS 4.0: 2.1 EPSS 0.36%
Updated Jul 13, 2026
Litellm
Parameter Value
CVSS 2.1 (LOW)
Affected Versions before 1.82.0
Fixed In 1.82.0
Type CWE-94 (Code Injection)
Vendor Litellm
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Litellm Litellm
cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*
1.82.0
Litellm Litellm
cpe:2.3:a:litellm:litellm:1.82.0:nightly:*:*:*:*:*:*