LiteLLM: Server-side request forgery via the `user_config` request parameter in LiteLLM Proxy
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-918 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| BerriAI | litellm | before 1.83.9 | 1.83.9 | Patch available | CNA |
| — | litellm (PyPI) | before 1.83.9 | 1.83.9 | Patch available | GHSA-hx8v-g79f-8w5f |
- litellm VendorBerriAI Affected before 1.83.9 Fixed in 1.83.9 Patch available CNA
- litellm (PyPI) Vendor— Affected before 1.83.9 Fixed in 1.83.9 Patch available GHSA-hx8v-g79f-8w5f
Remediation
- Fix · CNA litellm (BerriAI) Fixed in 1.83.9
- Fix · GHSA-hx8v-g79f-8w5f litellm (PyPI) Fixed in 1.83.9 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-59823
- 2026-10-03 Alias added: GHSA-hx8v-g79f-8w5f
- 2026-11-07 Affected versions changed · Red Hat
- 2026-11-07 CVSS score added · Red Hat
References
More BerriAI vulnerabilities
- TI-2026-26015 Trivy ecosystem supply chain briefly compromised KEVCVSS 4.0CRITICAL 9.4
- TI-2026-30529 LiteLLM: SQL injection in Proxy API key verification KEVCVSS 4.0CRITICAL 9.3
- TI-2026-30582 LiteLLM: Authenticated command execution via MCP stdio test endpoints KEVCVSS 4.0HIGH 8.7
- TI-2026-42639 LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback KEVCVSS 4.0HIGH 8.8
- TI-2024-05340 Remote Code Execution in BerriAI/litellm CVSS 3.1CRITICAL 9.8
- TI-2024-03969 Remote Code Execution in berriai/litellm CVSS 3.0CRITICAL 9.8
Sources
- CVE-2026-59823 · CVE Program
- CVE-2026-59823 · NVD
- FIRST EPSS
- GHSA-hx8v-g79f-8w5f · GitHub Advisory Database · CC BY 4.0
- CVE-2026-59823 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences