VYPR
advisoryPublished Nov 24, 2026· 2 sources

LiteLLM Vulnerability Allows Sensitive Information Disclosure via SSRF

Zero Day Initiative disclosed a Server-Side Request Forgery (SSRF) vulnerability in LiteLLM's is_request_body_safe function, enabling authenticated remote attackers to disclose sensitive information.

A critical Server-Side Request Forgery (SSRF) vulnerability has been disclosed in the LiteLLM open-source library, potentially exposing sensitive information on affected systems. The vulnerability, tracked as ZDI-26-1081 by the Zero Day Initiative (ZDI), requires authentication to be exploited.

The flaw resides within the is_request_body_safe function, specifically in how it handles the api_base parameter during chat completion requests. According to ZDI's advisory, the issue stems from a lack of proper validation of a Uniform Resource Identifier (URI) before the system attempts to access resources. This oversight allows a malicious actor, who has already gained authenticated access to a vulnerable LiteLLM instance, to manipulate the request to point to internal or external resources, thereby disclosing sensitive data.

The potential impact of this SSRF vulnerability is significant, as it could allow an attacker to gain insights into the internal network structure, access sensitive configuration files, or even interact with other internal services that the LiteLLM instance has access to. The disclosure of information in the context of the service account running LiteLLM could provide attackers with valuable intelligence for further exploitation.

LiteLLM, a popular library designed to simplify the use of various large language models (LLMs) by providing a unified API, is widely adopted by developers building AI-powered applications. The widespread use of LiteLLM means that a successful exploitation of this vulnerability could affect a broad range of applications and services that rely on it for LLM integration.

Security researchers at ZDI assigned a CVSS score of 6.4 to this vulnerability, categorizing it as medium-high severity. While authentication is a prerequisite, the ease with which SSRF vulnerabilities can be leveraged once an attacker gains initial access makes this a notable concern for organizations using LiteLLM.

Fortunately, the LiteLLM project has already addressed this vulnerability. A pull request on GitHub (https://github.com/BerriAI/litellm/pull/26518) details the fix, which involves implementing more robust URI validation to prevent the SSRF condition. Users of LiteLLM are strongly advised to update to the patched version as soon as possible to mitigate the risk of information disclosure.

The vulnerability was initially reported to the vendor on March 30, 2026, with a coordinated public release of the advisory on November 24, 2026. The advisory was also updated on the same day. The discovery and reporting of this flaw are credited to Javohir Abduxalilov of JavaSec.uz.

This new advisory, ZDI-26-1085, details an information disclosure vulnerability within LiteLLM's Secret Manager's oidc Resolver component. The flaw stems from inadequate validation of user-supplied input when accessing environment variables, allowing authenticated remote attackers to disclose sensitive information. While the previous report focused on an SSRF vulnerability in a different function, this advisory highlights a distinct vulnerability related to secret resolution.

Synthesized by Vypr AI