Auth bypass in Berriai Litellm
CVE-2026-12797
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.004, 34.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Berriai Litellm — versions 1.82.0, 1.82.1, 1.82.2
- Litellm
Weakness classification (CWE)
References
- VDB-372559 | BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-372559 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- CVE-2026-12797 | CVE Analysis and Report (Third Party Advisory, VDB Entry, third-party-advisory)
- Submit #811288 | litellm <= 1.82.5 Incorrect Authorization (CWE-863) (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a (Exploit, Third Party Advisory, exploit)