CVE-2026-47102: LiteLLM allows a user to modify their own user_role via the /user/update endpoint
LiteLLM before 1.83.10 lets a user change their own `user_role` through `/user/update`. The endpoint limits users to their own account but not to particular fields, so a user can set the role to `proxy_admin` and gain full control of the proxy. Upgrade to 1.83.10.
Published May 21, 2026 · Updated Jun 23, 2026 · Analysis Oct 26, 2026
What an attacker can do
/user/update correctly restricts a caller to updating only their own account. It does not restrict which fields may change, so user_role is writable (CWE-863). A user who can reach the endpoint sets it to proxy_admin.
The org_admin role has legitimate access to /user/update and can exploit this on its own, with no other flaw. A plain internal_user normally cannot reach the endpoint. According to the Obsidian write-up, the sibling flaw CVE-2026-47101 supplies that access: the user mints a key with admin routes in allowed_routes, then calls /user/update.
A proxy_admin has full administrative access: all users, teams, keys, models and prompt history. The write-up adds that registering a stdio MCP server is then effectively server-side code execution. The proxy usually stores the provider API keys for every model your organization uses, so a takeover exposes those too. The attacker needs a low-privilege account, network access to the proxy and no user interaction.
Who is affected
The litellm package on PyPI before 1.83.10, when you run the proxy with role-based users. Organizations that grant org_admin are exposed directly. Check:
pip show litellmFor containers, read the version from the image tag. Then list users and look for roles you did not assign, in particular proxy_admin.
litellm
- Ecosystem
- PyPI
- Affected
- < 1.83.10
- Fixed in
- 1.83.10
- Check
pip show litellm
How to fix it
Upgrade to litellm 1.83.10:
pip install --upgrade 'litellm>=1.83.10'The fix is in pull request 25541 and the v1.83.10-stable release. The sources I read do not describe the code change. Because the chain also needs CVE-2026-47101, upgrade to 1.83.14 or later to close both.
The sources give no workaround short of upgrading. After the upgrade, review who holds proxy_admin and remove roles you did not grant.
How to tell if you were hit
List all users and compare each user_role with what you assigned. An unexpected proxy_admin, or a role changed on a user's own record, is the sign. Check the proxy's access logs for calls to /user/update where the caller's id matches the target and the body sets user_role. Review guardrails, callbacks and MCP servers registered by that user. Rotate the provider keys held by the proxy if you find one.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
LiteLLM prior to 1.83.10 allows a user to modify their own user_role via the /user/update endpoint. While the endpoint correctly restricts users to updating only their own account, it does not restrict which fields may be changed. A user who can reach this endpoint can set their role to proxy_admin, gaining full administrative access to LiteLLM including all users, teams, keys, models, and prompt history. Users with the org_admin role have legitimate access to this endpoint and can exploit this vulnerability without chaining any additional flaw.
Questions
- Who can exploit CVE-2026-47102 without another bug?
Users with the
org_adminrole. They legitimately reach/user/update, and the endpoint does not limit which fields they can change.- How does a plain internal_user reach the endpoint?
The Obsidian write-up chains this flaw with CVE-2026-47101, where a key created with admin routes in
allowed_routescan call/user/update.- Which version fixes it?
litellm 1.83.10 fixes this one. Use 1.83.14 or later to also close the key-route flaw.
- What does proxy_admin give the attacker?
Full administrative access to users, teams, keys, models and prompt history, per the advisory.
References
Read for this analysis:
- https://github.com/advisories/GHSA-wpfp-gwwc-vwq6
- https://www.obsidiansecurity.com/blog/litellm-privilege-escalation-rce
- https://nvd.nist.gov/vuln/detail/CVE-2026-47102
- https://github.com/BerriAI/litellm/pull/25541
- https://github.com/BerriAI/litellm/commit/128d32d2494b759c5d15da3452452af4c6a34c01
- https://github.com/BerriAI/litellm/commit/e6f18ce75b111c9b93dc15c72894cbdeb53177ce
- https://gist.github.com/13ph03nix/9ec616e1fdc77b3673509c60206e827f
- https://github.com/BerriAI/litellm/releases/tag/v1.83.10-stable
- https://huntr.com/bounties/8e75edfb-ff05-4e63-bfca-2d93d03fb3b9
- https://www.vulncheck.com/advisories/litellm-privilege-escalation-via-user-update
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
