LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key
What fixes it
- 1.100.4litellm, pipGitHub
- 1.101.3litellm, pipGitHub
- 1.102.2litellm, pipGitHub
- 1.103.1litellm, pipGitHub
- 1.104.0rc2litellm, pipGitHub
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From 1.87.0 until 1.100.4, 1.101.3, 1.102.2, 1.103.1, and 1.104.0-rc.2, the proxy reuses one cryptographic context for at-rest secrets and session tokens, allowing an authenticated internal user to have crafted metadata containing a forged administrator credential encrypted and returned by the API-key flow. Replaying that ciphertext as a bearer token causes the proxy to trust the forged proxy administrator identity, permitting administrative access and arbitrary commands through the MCP stdio endpoint. Versions 1.87.0 through 1.90.x require EXPERIMENTAL_UI_LOGIN to be enabled, while versions after 1.91.0 are exploitable in the default configuration. This issue was fixed in LiteLLM 1.100.4, 1.101.3, 1.102.2, 1.103.1, and 1.104.0-rc.2.
Text from CVE List
Affected versions 10
- litellmaffected: >= 1.87.0, < 1.100.4CVE List
- litellmaffected: >= 1.101.0, < 1.101.3CVE List
- litellmaffected: >= 1.102.0, < 1.102.2CVE List
- litellmaffected: >= 1.103.0, < 1.103.1CVE List
- litellmaffected: >= 1.104.0-rc.1, < 1.104.0-rc.2CVE List
- litellm, pip>= 1.91.0, < 1.100.4GitHub
- litellm, pip>= 1.101.0, < 1.101.3GitHub
- litellm, pip>= 1.102.0, < 1.102.2GitHub
- litellm, pip>= 1.103.0, <1.103.1GitHub
- litellm, pip>= 1.104.0rc1, < 1.104.0rc2GitHub
References 11
- github.com/BerriAI/litellm/commit/1d5fdc87fed66b49e1df8cf7d708ad93249eb7d0Fixvia CVE List
- github.com/BerriAI/litellm/commit/9161d7f9d6073603ba61ee4aa5e2c0ef5b37a81bFixvia CVE List
- github.com/BerriAI/litellm/commit/9fa1a641119dd0d4fe43e93622eae5f482ceb63fFixvia CVE List
- github.com/BerriAI/litellm/commit/a80eacacee118fbed54e3d98f239d17a63fac818Fixvia CVE List
- github.com/BerriAI/litellm/commit/f7cd90f09e9716652b38daec9f0640cdf49d582bFixvia CVE List
- github.com/BerriAI/litellm/releases/tag/v1.100.4Fixvia CVE List
- github.com/BerriAI/litellm/releases/tag/v1.101.3Fixvia CVE List
- github.com/BerriAI/litellm/releases/tag/v1.102.2Fixvia CVE List
- github.com/BerriAI/litellm/releases/tag/v1.103.1Fixvia CVE List
- github.com/BerriAI/litellm/releases/tag/v1.104.0-rc.2Fixvia CVE List
- github.com/BerriAI/litellm/security/advisories/GHSA-7hp6-4w63-5g45Advisoryvia CVE List