User Impersonation Affecting litellm package, versions [1.80.7,1.83.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (30th percentile)

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 IDSNYK-PYTHON-LITELLM-15907831
  • published5 Apr 2026
  • disclosed3 Apr 2026
  • creditveria-labs

Introduced: 3 Apr 2026

NewCVE-2026-35030  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade litellm to version 1.83.0 or higher.

Overview

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to User Impersonation in the get_oidc_userinfo function. An attacker can gain unauthorized access to another user's identity and permissions by crafting a token with the same initial 20 characters as a legitimate user's cached token.

Note: This is only exploitable if JWT/OIDC authentication is enabled and the OIDC userinfo cache is active.

Workaround

This vulnerability can be mitigated by disabling OIDC userinfo caching (set cache TTL to 0) or disabling JWT authentication entirely.

CVSS Base Scores

version 4.0
version 3.1