CVE-2026-145672 in LiteLLM
Summary
by MITRE • 12/06/2026
BerriAI LiteLLM before 1.103.10, 1.104.x before 1.104.8, 1.105.x before 1.105.6, and 1.106.x before 1.106.5 contains an unauthenticated file read vulnerability on Enterprise-licensed proxies, where callback parameters such as gcs_path_service_account in requests to LLM routes control a local file path that the proxy reads and sends to an attacker-chosen URL. Remote attackers can exfiltrate /proc/self/environ to obtain LITELLM_MASTER_KEY and provider API keys, gaining full admin access to the proxy.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 12/06/2026
The vulnerability identified in LiteLLM versions prior to 1.103.10, 1.104.x before 1.104.8, 1.105.x before 1.105.6, and 1.106.x before 1.106.5 represents a critical security flaw affecting Enterprise-licensed proxy deployments. This issue is classified as an unauthenticated file read vulnerability that stems from improper validation of user-supplied input within callback parameters. Specifically, fields such as gcs_path_service_account are intended to specify remote storage paths for Google Cloud Storage service account credentials but fail to restrict the scope of acceptable values. The underlying technical flaw allows these parameters to be manipulated into local filesystem paths rather than valid cloud resource identifiers. When a request is processed by an LLM route, the proxy interprets this maliciously crafted input as a directive to read from the specified local file path and subsequently transmits the contents of that file to a URL controlled by the attacker. This mechanism effectively bypasses authentication requirements because it exploits logic errors in how configuration data is handled rather than breaking cryptographic or access control mechanisms directly, allowing any remote actor with network connectivity to interact with the proxy endpoint without valid credentials.
The operational impact of this vulnerability is severe due to its ability to facilitate full administrative compromise through information disclosure. By leveraging this file read capability, attackers can target sensitive system files such as /proc/self/environ on Linux-based systems hosting the LiteLLM service. This specific file contains a snapshot of the environment variables active for the running process at the time it is accessed. In typical deployments, these environment variables include critical secrets such as the LITELLM_MASTER_KEY and various provider API keys required to interact with large language model services like OpenAI or Anthropic. The exfiltration of the master key grants the attacker complete control over the proxy instance, enabling them to modify routing rules, inject malicious prompts, or abuse associated cloud billing accounts via the stolen provider API keys. This level of access transforms a simple data leak into a comprehensive system compromise, potentially leading to further lateral movement within an organization's infrastructure if the compromised credentials are reused across other services.
From a classification perspective, this vulnerability aligns with CWE-200: Information Exposure and CWE-59: Improper Link Resolution Before Path Canonicalization or Check, as it involves reading arbitrary files due to insufficient path validation. In terms of attack behavior, it maps to MITRE ATT&CK technique T1083: File and Directory Discovery combined with T1567: Exfiltration Over Web Service, specifically utilizing the proxy's outbound connection capabilities to ship stolen data externally. The exploitation chain relies on the attacker crafting a request that triggers the internal file read operation and then capturing the response or redirecting it to an external server for analysis. This highlights the risk of exposing administrative interfaces or configuration endpoints without strict input sanitization and output encoding, particularly when those interfaces handle sensitive operational parameters.
Mitigation strategies must prioritize immediate patching to the latest stable versions where this logic error has been corrected by enforcing stricter validation on callback parameter values. Organizations should ensure that only whitelisted remote storage paths are accepted for service account configurations, rejecting any input that resembles local filesystem syntax or absolute path indicators such as forward slashes at the start of a string unless explicitly permitted by design. Additionally, implementing network-level controls can reduce exposure; firewalls and web application firewalls should be configured to restrict outbound connections from LiteLLM instances to only known and necessary endpoints, preventing data exfiltration even if an attacker successfully exploits the file read flaw. It is also recommended to rotate all exposed credentials immediately upon confirmation of a potential breach, including the LITELLM_MASTER_KEY and any provider API keys that may have been accessed via /proc/self/environ or other sensitive configuration files stored in environment variables or local disk locations accessible by the application process.