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.
Problem types
Product status
1.82.1
1.82.2
1.82.3
1.82.4
1.82.5
Timeline
| 2026-06-20: | Advisory disclosed |
| 2026-06-20: | VulDB entry created |
| 2026-06-20: | VulDB entry last update |
Credits
Eric-c (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/372559 (VDB-372559 | BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization)
vuldb.com/vuln/372559/cti (VDB-372559 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/cve/CVE-2026-12797 (CVE-2026-12797 | CVE Analysis and Report)
vuldb.com/submit/811288 (Submit #811288 | litellm <= 1.82.5 Incorrect Authorization (CWE-863))
gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a