Incorrect Authorization Affecting litellm package, versions [,1.77.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LITELLM-13449204
  • published8 Oct 2025
  • disclosed2 Oct 2025
  • creditUnknown

Introduced: 2 Oct 2025

New CVE NOT AVAILABLE CWE-863  (opens in a new tab)

How to fix?

Upgrade litellm to version 1.77.1 or higher.

Overview

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to Incorrect Authorization via incomplete role-based checks in the _check_proxy_admin_viewer_access function. An attacker can modify user credentials by sending crafted requests to endpoints such as /key/generate, /key/update when assigned with the PROXY_ADMIN_VIEW_ONLY role.

References

CVSS Base Scores

version 4.0
version 3.1