NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · LiteLLM

CVE-2026-47102: LiteLLM allows a user to modify their own user_role via the /user/update endpoint

highCVSS 4.0 8.7 · 3.1 8.8GHSA-wpfp-gwwc-vwq6

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 litellm

For 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_admin role. 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_routes can 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

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 entries