6.5

CVE-2026-12797: BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization

Analyzed
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.23% chance of exploitation in the next 30 days, higher than 14.2% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v2.0 (CVE.org)
EPSS score
0.23%
0%100%
Low · -0.17 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.23%

Chance of exploitation in the next 30 days

Percentile

14%

Versus all other CVEs

30-day change

Decrease -0.17 pp

From 0.40% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • githubUnverified

    078179224F07Cc4E39E4F141A18C817A

    Maturity: poc

  • referenceUnverified

    Exploit Reference (vuldb.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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