CVE-2026-12797 Details
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.
An authorization bypass vulnerability has been identified in BerriAI Litellm versions through 1.82.5. The issue arises in the Completions Interface, specifically within the async_pre_call_hook function of the banned_keywords.py file. The vulnerability allows for incorrect authorization by manipulating the prompt argument, and can be exploited remotely. This flaw has been publicly disclosed and is available for exploitation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/cve/CVE-2026-12797 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/submit/811288 | [email protected] | Third Party AdvisoryExploitVDB Entry |
| https://vuldb.com/vuln/372559 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/372559/cti | [email protected] | Permissions RequiredVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-285 | Improper Authorization | [email protected] |
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| litellm litellm | <= 1.82.5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jun 24, 2026 | Initial Analysis | [email protected] |
| Jun 22, 2026 | CVE Modified | CISA-ADP |
| Jun 21, 2026 | New CVE Received | [email protected] |