BerriAI litellm has Security Feature Bypass in BannedKeywords and AzureContentSafety Guardrails via call_type Mismatch on Async Endpoints
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.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-12797US | —OT elevated | — | ||
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… | ||||
references
External citations — patches, advisories, analysis.
- https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817aWEB
- https://github.com/BerriAI/litellmPACKAGE
- https://github.com/advisories/GHSA-p897-vf7j-f5h8ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-12797ADVISORY
- https://pypi.org/project/litellmPACKAGE
- https://vuldb.com/cve/CVE-2026-12797WEB
- https://vuldb.com/submit/811288WEB
- https://vuldb.com/vuln/372559WEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan