CVE-2026-59823
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
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| BerriAI | litellm | < 1.83.9 | affected |
Weaknesses
- CWE-918: CWE-918: Server-Side Request Forgery (SSRF)
References
- https://github.com/BerriAI/litellm/security/advisories/GHSA-hx8v-g79f-8w5f
- https://github.com/BerriAI/litellm/pull/25827
- https://github.com/BerriAI/litellm/commit/47214be317f45a2d2ac08258362e0481411eb427
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.