Incorrect Authorization Affecting litellm package, versions [,1.85.0rc2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.23% (14th 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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LITELLM-17393732
  • published22 Jun 2026
  • disclosed21 Jun 2026
  • creditEric-c

Introduced: 21 Jun 2026

NewCVE-2026-12797  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade litellm to version 1.85.0rc2 or higher.

Overview

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to Incorrect Authorization in the BannedKeywords enterprise and AzureContentSafety hooks of the Completions Interface. An attacker can gain unauthorized access to restricted resources and potentially disclose or modify sensitive information by manipulating the prompt parameter remotely.

CVSS Base Scores

version 4.0
version 3.1