Skip to main content

CVE-2026-59823: CWE-918: Server-Side Request Forgery (SSRF) in BerriAI litellm

0
Medium
VulnerabilityCVE-2026-59823cvecve-2026-59823cwe-918
Published: 09/16/2026 (09/16/2026, 18:36:21 UTC)
Source: CVE Database V5
Vendor/Project: BerriAI
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Affected software

BerriAI

litellm

Affected versions
<1.83.9
GitHub Actionsmore threats →ai
berriai/litellm
pkg:github/berriai/litellm
Affected versions
<1.83.9

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/16/2026, 19:17:18 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses