LiteLLM is_request_body_safe Server-Side Request Forgery Information Disclosure Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to disclose sensitive information on affected installations of LiteLLM. Authentication is required to exploit this vulnerability.
The specific flaw exists within the handling of the api_base parameter in chat completion requests. The issue results from the lack of proper validation of a URI prior to accessing resources. An attacker can leverage this vulnerability to disclose information in the context of the service account.
Additional Details
LiteLLM has issued an update to correct this vulnerability. More details can be found at:
https://github.com/BerriAI/litellm/pull/26518
Disclosure Timeline
- 2026-03-30 - Vulnerability reported to vendor
- 2026-11-24 - Coordinated public release of advisory
- 2026-11-24 - Advisory Updated
Credit
Javohir Abduxalilov (JavaSec.uz)