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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| BerriAI | litellm | 1.82.0, 1.82.1, 1.82.2, 1.82.3, 1.82.4, 1.82.5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | litellm | <= 1.82.5 | — | GHSA-p897-vf7j-f5h8 |
References
- VDB-372559 | BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization vdb-entry technical-description
- VDB-372559 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-12797 | CVE Analysis and Report third-party-advisory
- Submit #811288 | litellm <= 1.82.5 Incorrect Authorization (CWE-863) third-party-advisory
- https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a exploit