ADVISORIES

PyPA Advisory Database

PYSEC-2026-1543

LiteLLM Has a Leakage of Langfuse API Keys

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIlitellm
All versions up to and including 1.52.1

References