CVE-2026-136536 in LiteLLMinfo

Summary

by MITRE • 11/24/2026

LiteLLM is_request_body_safe Server-Side Request Forgery Information Disclosure Vulnerability. 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. Was ZDI-CAN-29838.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/24/2026

The identified vulnerability within LiteLLM represents a critical Server-Side Request Forgery (SSRF) flaw rooted in insufficient input validation mechanisms, specifically concerning the handling of the api_base parameter during chat completion requests. This security defect allows authenticated attackers to manipulate the service into making HTTP or HTTPS requests to arbitrary destinations controlled by the attacker. The core technical failure lies in the absence of rigorous URI schema and destination verification before the application initiates network connections. By exploiting this lack of validation, an adversary can force the LiteLLM server to interact with internal infrastructure services that are typically inaccessible from external networks, thereby bypassing standard perimeter security controls such as firewalls or access control lists designed to protect backend resources.

From a technical perspective, the vulnerability stems directly from CWE-918, which classifies Server-Side Request Forgery flaws where a web server receives a URL and makes requests on behalf of the user without proper validation. In this specific instance, the api_base parameter serves as the entry point for exploitation. When an authenticated user submits a request containing a maliciously crafted URI in this field, the application processes it without checking if the target is internal or external. This allows the attacker to probe internal network segments, access cloud metadata services such as AWS EC2 Instance Metadata Service (IMDS) or Azure Managed Identity endpoints, and potentially retrieve sensitive configuration data, authentication tokens, or other proprietary information stored on backend servers that are not exposed to the public internet.

The operational impact of this vulnerability is severe due to its potential for significant information disclosure within the context of the service account running LiteLLM. Since authentication is required to exploit the flaw, the scope of damage is limited to users with valid credentials; however, in many enterprise deployments, API keys or user accounts may possess elevated privileges necessary to interact with critical backend systems. Successful exploitation can lead to the exfiltration of sensitive data, including database connection strings, internal IP addresses, and potentially cloud provider secrets if metadata services are accessible. This information disclosure can serve as a stepping stone for further attacks, such as privilege escalation or lateral movement within the network environment, compromising the overall integrity and confidentiality of the affected infrastructure.

To mitigate this risk, organizations must implement strict allow-listing mechanisms for the api_base parameter to ensure that only trusted and pre-approved domains are accessible by the application. Input validation should enforce schema restrictions, rejecting any URI schemes other than standard HTTP or HTTPS if not explicitly required, and blocking requests to private IP address ranges such as 10.x.x.x, 172.16.x.x through 172.31.x.x, and 192.168.x.x. Additionally, deploying network-level controls like egress filtering can provide a secondary layer of defense by restricting outbound connections from the application server to only necessary external endpoints. It is also advisable to isolate LiteLLM instances within dedicated subnets with restricted internet access to minimize the attack surface available for SSRF exploitation.

This vulnerability aligns with MITRE ATT&CK technique T1598, specifically Subtechnique T1598.002 regarding Phishing for Information or more broadly T1496 Resource Hijacking if used for cryptomining, but in this context, it primarily facilitates reconnaissance and data exfiltration consistent with T1078 Valid Accounts when combined with the authentication requirement. The exploitation path mirrors common SSRF patterns observed in modern web applications where dynamic URL construction occurs without adequate sanitization. Immediate patching to a version of LiteLLM that addresses ZDI-CAN-29838 is essential, alongside a review of network segmentation policies and implementation of robust input validation frameworks to prevent similar vulnerabilities from being introduced or exploited in the future.

Responsible

Zdi

Reservation

11/24/2026

Disclosure

11/24/2026

Moderation

accepted

CPE

ready

EPSS

0.00411

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!