LiteLLM Has a Leakage of Langfuse API Keys
An error while parsing team settings in LiteLLM's proxy server caused Langfuse API keys to be leaked. An attacker could obtain these keys and gain full access to the Langfuse project that stores all requests.
litellm
Originally disclosed on huntr
In berriai/litellm version v1.52.1, an issue in proxy_server.py causes the leakage of Langfuse API keys when an error occurs while parsing team settings. This vulnerability exposes sensitive information, including langfuse_secret and langfuse_public_key, which can provide full access to the Langfuse project storing all requests.
From the GitHub Advisory Database (GHSA-879v-fggm-vxw2, CC BY 4.0).
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
Impact
The leaked keys could provide full access to the Langfuse project storing all requests, exposing sensitive request data.
What the attacker needed
LiteLLM v1.52.1; error while parsing team settings
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 AI model requests, and it can send logs to another service called Langfuse. When LiteLLM had a problem reading some team settings, it accidentally showed secret keys for Langfuse in an error message. Anyone who saw that error could use the keys to access all the request data stored in Langfuse.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.