Description
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.
CVSS breakdown
CVSS 4.0
Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Confidentiality (Vulnerable System)
High
Integrity (Vulnerable System)
High
Availability (Vulnerable System)
High
Confidentiality (Subsequent System)
None
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- BerriAI / litellm0 – 1.83.10
References
- MISChttps://www.obsidiansecurity.com/blog/litellm-privilege-escalation-rce
- MISChttps://gist.github.com/13ph03nix/9ec616e1fdc77b3673509c60206e827f
- MISChttps://huntr.com/bounties/8e75edfb-ff05-4e63-bfca-2d93d03fb3b9
- PATCHhttps://github.com/BerriAI/litellm/releases/tag/v1.83.10-stable
- PATCHhttps://github.com/BerriAI/litellm/pull/25541
- PATCHhttps://github.com/BerriAI/litellm/commit/e6f18ce75b111c9b93dc15c72894cbdeb53177ce
- PATCHhttps://github.com/BerriAI/litellm/commit/128d32d2494b759c5d15da3452452af4c6a34c01
- VENDOR_ADVISORYhttps://www.vulncheck.com/advisories/litellm-privilege-escalation-via-user-update