Advisory

PYSEC-2026-2598

Also known as: CVE-2026-47101, GHSA-qrc4-49gv-mv9m

Summary

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

Details

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.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-07-13 15:19 UTC
Modified
2026-07-13 16:32 UTC

Affected packages and fixes

litellm

PyPI · All systems

Affected

  • introduced 0, fixed 1.83.14 (ecosystem)

Fixed versions

1.83.14

Fix

  • Fixed version 1.83.14
    pip install --upgrade litellm==1.83.14

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences