LiteLLM Virtual Key Model Alias Incorrect Authorization Privilege Escalation Vulnerability
LiteLLM mishandled authorisation checks around virtual key model aliases, so a user with a virtual key could reach models that should have been off limits. An authenticated attacker could use this to escalate privileges to resources normally protected from them.
This vulnerability allows remote attackers to escalate privileges on affected installations of LiteLLM. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the authorisation logic that maps a virtual key to its permitted model aliases did not correctly enforce those restrictions, allowing access to other models.
Impact
An authenticated user could escalate privileges and access resources normally protected from them; the text does not say whether any other defence limited this.
What the attacker needed
A valid virtual key (authenticated user)
The fix
The vendor issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
LiteLLM is a tool that sits in front of AI models and hands out 'virtual keys' so different people or apps can use only certain models. A check meant to stop a key from using other models was flawed, so someone with a valid key could reach models they were not meant to use. This is a privilege escalation: getting more access than you were given.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.