LiteLLM Privilege Escalation Vulnerability via Unrestricted Allowed Routes in API Key Generation

Vulnerability

A privilege escalation vulnerability has been identified in LiteLLM versions prior to 1.83.14. This vulnerability allows an authenticated user with internal_user privileges to create API keys that access routes beyond their assigned permissions. The issue arises because the allowed_routes field is stored without proper validation, enabling access to admin-only routes. Exploiting this flaw allows internal_users to escalate their privileges to proxy_admin.

Impact

Exploitation of this vulnerability allows internal_users to gain full administrative rights, including access to all user and team management functions, API keys, models, and prompt history.

Reproduction

To reproduce this vulnerability, an authenticated internal_user can generate a key with the allowed_routes parameter set to include admin-only routes, such as '/user/update'. Once the key is created, it can be used to access the specified routes and modify the user's role to proxy_admin, thereby escalating privileges.

Remediation

Users can update to LiteLLM version 1.83.14 or later, where this vulnerability has been addressed.

Added: May 21, 2026, 9:35 PM
Updated: May 21, 2026, 9:35 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
4.6
remediation
7.7
relevance
9.0
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.