CVE-2025-0330: LiteLLM Has a Leakage of Langfuse API Keys
In LiteLLM 1.52.1 and earlier, an error while parsing team settings in `proxy_server.py` leaks the Langfuse `langfuse_secret` and `langfuse_public_key` to the caller. Those keys give full access to the Langfuse project that stores all requests. The advisory data lists no patched version.
Published Mar 20, 2025 · Analysis Nov 1, 2026
What an attacker can do
The LiteLLM proxy can send per-team logging settings to Langfuse, the observability service. When parsing those team settings fails, the error path in proxy_server.py includes the Langfuse credentials in what comes back. A caller who can trigger the error reads langfuse_secret and langfuse_public_key. The CVSS vector has no privileges and no user interaction and scores confidentiality only.
With both keys, an attacker can open the Langfuse project. That project holds a record of every request that went through the proxy, which can include prompts, completions, user data and pasted secrets. The attacker can read that history and may be able to write to it. The leak does not itself give control of the proxy or the model providers. The sources do not explain which input triggers the parsing error.
Who is affected
The litellm PyPI package at 1.52.1 and earlier. The issue applies to proxy deployments that use Langfuse team settings. Check the version:
pip show litellmThen check whether your proxy config sets langfuse_secret or langfuse_public_key in team or key settings.
litellm
- Ecosystem
- PyPI
- Affected
- <= 1.52.1
- Fixed in
- No patched version yet
- Check
pip show litellm
How to fix it
The advisory data lists no patched version and no fix commit. Upgrade to the latest litellm release and read its notes for this issue.
Treat the Langfuse keys as exposed if you ran an affected version with Langfuse team settings. Create new Langfuse keys, update the proxy, and review Langfuse access history. Do not let untrusted callers reach error responses from the proxy.
How to tell if you were hit
Search proxy responses and error logs for the strings langfuse_secret and langfuse_public_key, which should never appear in output. In Langfuse, review API key use and project access for IP addresses or times you do not recognise, and for exports of trace data.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
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.
Questions
- What does the leaked Langfuse key give an attacker?
The advisory says it gives full access to the Langfuse project storing all requests. That is a log of what your users and agents sent through the proxy.
- Is there a fixed LiteLLM version for CVE-2025-0330?
The advisory lists none. It marks 1.52.1 and earlier as vulnerable. Use the latest release and rotate the Langfuse keys.
- Does CVE-2025-0330 leak model provider API keys?
The sources name only the Langfuse keys,
langfuse_secretandlangfuse_public_key. They do not say provider keys are exposed.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More LiteLLM vulnerabilities
All LiteLLM entriesCVE-2026-114612
LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key
high9.9Oct 27, 2026GHSA-g5ff-637f-6q2m
LiteLLM: internal_user_viewer arbitrary local file read via `vertex_ai_credentials`
high8.1Oct 27, 2026GHSA-hhww-mrg2-969h
LiteLLM vulnerable to reflected XSS in /sso/debug/callback
medium6.8Oct 27, 2026CVE-2026-84377
LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters
medium6.5Sep 30, 2026CVE-2026-59823
LiteLLM Proxy has server-side request forgery via the `user_config` request parameter
medium5.3Sep 17, 2026CVE-2026-37004
LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint
critical9.8Aug 27, 2026
