PYSEC-2026-2598

LiteLLM allows an authenticated internal_user to create API keys with access to routes that their role does not permit

At a glance

Published
Updated
CVE
CVE-2026-47101
Aliases
GHSA-qrc4-49gv-mv9m
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

LiteLLM prior to 1.83.14 allows an authenticated internal_user to create API keys with access to routes that their role does not permit. When generating a key, the allowed_routes field is stored without verifying that the specified routes fall within the user's own permissions. A key created with access to admin-only routes can then be used to reach those routes successfully, bypassing the role-based access controls that would otherwise block the request, enabling full privilege escalation from internal_user to proxy_admin.

Affected packages

PackageVersions
PyPI · litellmintroduced 0, fixed 1.83.14

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database