6.5

CVE-2026-12797: berriai litellm Improper Authorization

CVSS: 6.5v2.0MediumAnalyzed
AliasesGHSA-p897-vf7j-f5h8PYSEC-2026-4074
Published 21-06-2026Last modified 22-06-2026

Vulnerability summary

CVE-2026-12797 is a medium (CVSS 6.5) Improper Authorization vulnerability in berriai litellm. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 32.7% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v2.0 (CVE.org)
EPSS score
0.40%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, reference

Timeline

  1. 21-06-2026
    PublishedVulnerability first disclosed.
  2. 22-06-2026
    Last modifiedVulnerability information updated.

Description

A security flaw has been discovered in BerriAI litellm up to 1.82.5. Affected is the function async_pre_call_hook of the file enterprise/enterprise_hooks/banned_keywords.py of the component Completions Interface. The manipulation of the argument prompt results in incorrect authorization. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure.

CVSS metrics

9 scores · 3 sources · 4 versions

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

33%

Versus all other CVEs

30-day change

0.00 pp

From 0.40% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.40%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    078179224F07Cc4E39E4F141A18C817A

    Maturity: poc

  • referenceUnverified

    Exploit Reference (vuldb.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Berriai1 product
  • litellm1.82.0 | 1.82.1 | 1.82.2 | 1.82.3 | 1.82.4 | 1.82.5
Litellm1 product
PyPI1 product
  • litellm≤ 1.82.5

3 vendors · 3 products

References

9 links