CVE-2026-59823: CWE-918: Server-Side Request Forgery (SSRF) in BerriAI litellm
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.9, an authenticated LiteLLM Proxy caller with a valid virtual key can place api_base inside the user_config request body to bypass is_request_body_safe, which blocks top-level api_base and base_url but previously did not inspect or reject user_config. Because user_config constructs the outbound router, the nested destination redirects a server-side request to an internal or external host selected by the caller and can expose endpoints the caller cannot otherwise access. This issue is fixed in version 1.83.9.
AI Analysis
Technical Summary
LiteLLM is a proxy server that calls LLM APIs in OpenAI or native format. Before version 1.83.9, an authenticated caller with a valid virtual key could place an api_base parameter inside the user_config request body. This bypassed the is_request_body_safe check, which blocks top-level api_base and base_url but did not inspect user_config. Since user_config constructs the outbound router, this allowed the attacker to redirect server-side requests to arbitrary internal or external hosts, potentially exposing otherwise inaccessible endpoints. The issue is resolved in version 1.83.9.
Potential Impact
An authenticated user with a valid virtual key can exploit this SSRF vulnerability to make the server send requests to arbitrary internal or external destinations. This may allow access to sensitive internal endpoints or external resources that are not normally accessible to the caller. The vulnerability does not require user interaction and has low complexity but requires authentication with a virtual key.
Mitigation Recommendations
Upgrade to LiteLLM version 1.83.9 or later, where this SSRF vulnerability is fixed. No other mitigation is indicated or required as the fix addresses the root cause by properly validating the user_config parameter.
CVE-2026-59823: CWE-918: Server-Side Request Forgery (SSRF) in BerriAI litellm
Description
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.9, an authenticated LiteLLM Proxy caller with a valid virtual key can place api_base inside the user_config request body to bypass is_request_body_safe, which blocks top-level api_base and base_url but previously did not inspect or reject user_config. Because user_config constructs the outbound router, the nested destination redirects a server-side request to an internal or external host selected by the caller and can expose endpoints the caller cannot otherwise access. This issue is fixed in version 1.83.9.
CVSS v4.0
Score 5.3medium
Affected software
BerriAI
litellm
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
LiteLLM is a proxy server that calls LLM APIs in OpenAI or native format. Before version 1.83.9, an authenticated caller with a valid virtual key could place an api_base parameter inside the user_config request body. This bypassed the is_request_body_safe check, which blocks top-level api_base and base_url but did not inspect user_config. Since user_config constructs the outbound router, this allowed the attacker to redirect server-side requests to arbitrary internal or external hosts, potentially exposing otherwise inaccessible endpoints. The issue is resolved in version 1.83.9.
Potential Impact
An authenticated user with a valid virtual key can exploit this SSRF vulnerability to make the server send requests to arbitrary internal or external destinations. This may allow access to sensitive internal endpoints or external resources that are not normally accessible to the caller. The vulnerability does not require user interaction and has low complexity but requires authentication with a virtual key.
Mitigation Recommendations
Upgrade to LiteLLM version 1.83.9 or later, where this SSRF vulnerability is fixed. No other mitigation is indicated or required as the fix addresses the root cause by properly validating the user_config parameter.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-07T15:00:50.978Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aaae7b755bf5e2cf5087551
Added to database: 09/16/2026, 19:02:15 UTC
Last enriched: 09/16/2026, 19:17:18 UTC
Last updated: 09/17/2026, 03:59:07 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.