CVE-2026-12797

published 21 Jun 2026 · updated 22 Jun 2026

BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization

7.3HighCVSS 6.3EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
BerriAILiteLLM=1.82.0, =1.82.1, =1.82.2, =1.82.3, =1.82.4, =1.82.5

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in LiteLLM, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-12797 severity on Zeptric[![CVE-2026-12797](https://zeptric.io/badge/cve/CVE-2026-12797.svg)](https://zeptric.io/cve/CVE-2026-12797)