Vulnerability record · CVE-2026-12797 · published 21 June 2026
CVE-2026-12797: Litellm improper authorization vulnerability
Litellm · Litellm
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.
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.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a | ExploitThird Party Advisory |
| https://vuldb.com/cve/CVE-2026-12797 | Third Party AdvisoryVDB Entry |
| https://vuldb.com/submit/811288 | Third Party AdvisoryExploitVDB Entry |
| https://vuldb.com/vuln/372559 | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/372559/cti | Permissions RequiredVDB Entry |
Track CVE-2026-12797 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-12797), CISA KEV, FIRST EPSS (scores of 2026-10-09). This page is refreshed as NVD updates the record.