LiteLLM Information health API_KEY Information Disclosure Vulnerability
The health endpoint of LiteLLM exposed the API_KEY parameter, allowing an authenticated attacker to disclose stored credentials. This could lead to further compromise of the system.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of LiteLLM. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the health endpoint returned the API_KEY value in its response without proper access control or redaction.
Impact
An authenticated attacker could disclose stored credentials, potentially leading to further compromise.
What the attacker needed
Authentication required
The fix
The vulnerability was fixed in LiteLLM version 1.63.14-stable.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
LiteLLM is a tool that helps manage access to different AI models. Its health check page was showing a secret key (API_KEY) to anyone who was logged in, even if they shouldn't see it. That key could then be used to access other systems.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.