LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key
Published 27 Oct 2026 · Updated 27 Oct 2026
Is your project on an affected litellm?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=1.91.0 <1.100.4
- Fixed in
- 1.100.4
pip install 'litellm>=1.100.4'- Affected
- >=1.101.0 <1.101.3
- Fixed in
- 1.101.3
pip install 'litellm>=1.101.3'- Affected
- >=1.102.0 <1.102.2
- Fixed in
- 1.102.2
pip install 'litellm>=1.102.2'- Affected
- >=1.103.0 <1.103.1
- Fixed in
- 1.103.1
pip install 'litellm>=1.103.1'- Affected
- >=1.104.0rc1 <1.104.0rc2
- Fixed in
- 1.104.0rc2
pip install 'litellm>=1.104.0rc2'Details
Summary
An authenticated user with internal_user privileges can escalate to proxy_admin and achieve remote code execution. The proxy uses one encryption key for two purposes: sealing secrets at rest and minting session tokens. An attacker exploits this by requesting a new API key with a crafted metadata field containing a forged admin credential as the "secret" value. The proxy encrypts and returns this payload. When this value is then presented as a bearer token, the proxy decrypts it, trusts the forged admin identity, and grants full administrative access, including the ability to execute arbitrary commands via the MCP stdio endpoint.
Affected versions
Versions later than 1.91.0 are exploitable in the default configuration. Versions 1.87.0 through 1.90.x are exploitable only if EXPERIMENTAL_UI_LOGIN=true was explicitly set.
Mitigation
Upgrade to a patched version as soon as possible.
If you cannot upgrade immediately, set EXPERIMENTAL_UI_LOGIN=false. This disables the vulnerable authentication path but also breaks CLI SSO and Claude Code gateway login.
Impact
An internal user can escalate to proxy admin and execute arbitrary commands on the host.
Discovery Credit: Hoa X. Nguyen (OPSWAT Unit 515)
Is GHSA-7hp6-4w63-5g45 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected litellm, and gives you the command that fixes it.
More advisories for litellm
- HighGHSA-g5ff-637f-6q2mLiteLLM: internal_user_viewer arbitrary local file read via `vertex_ai_credentials` · 27 Oct 2026
- MediumGHSA-hhww-mrg2-969hLiteLLM vulnerable to reflected XSS in /sso/debug/callback · 27 Oct 2026
- MediumCVE-2026-84377LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters · 30 Sept 2026
- MediumCVE-2026-59823LiteLLM Proxy has server-side request forgery via the `user_config` request parameter · 17 Sept 2026
- CriticalCVE-2026-37004LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint · 27 Aug 2026
- LowCVE-2026-59821LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks · 22 Jul 2026
References
- Linkgithub.com/BerriAI/litellm/security/advisories/GHSA-7hp6-4w63-5g45
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-114612
- Linkgithub.com/BerriAI/litellm/commit/1d5fdc87fed66b49e1df8cf7d708ad93249eb7d0
- Linkgithub.com/BerriAI/litellm/commit/9161d7f9d6073603ba61ee4aa5e2c0ef5b37a81b
- Linkgithub.com/BerriAI/litellm/commit/9fa1a641119dd0d4fe43e93622eae5f482ceb63f
- Linkgithub.com/BerriAI/litellm/commit/a80eacacee118fbed54e3d98f239d17a63fac818
- Linkgithub.com/BerriAI/litellm/commit/f7cd90f09e9716652b38daec9f0640cdf49d582b
- Packagegithub.com/BerriAI/litellm
- Linkgithub.com/BerriAI/litellm/releases/tag/v1.100.4
- Linkgithub.com/BerriAI/litellm/releases/tag/v1.101.3
- Linkgithub.com/BerriAI/litellm/releases/tag/v1.102.2
- Linkgithub.com/BerriAI/litellm/releases/tag/v1.103.1
- Linkgithub.com/BerriAI/litellm/releases/tag/v1.104.0-rc.2
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.