Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-12797 EUVD-2026-38156GHSA-p897-vf7j-f5h8PYSEC-2026-4074

BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization

Published Jun 21, 2026 · Updated Jun 22, 2026 · Assigned by VulDB

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.

Affected products

VendorProductAffectedFixed
BerriAI litellm 1.82.0, 1.82.1, 1.82.2, 1.82.3, 1.82.4, 1.82.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI litellm <= 1.82.5 — GHSA-p897-vf7j-f5h8

References