CVE-2026-12797: Incorrect Authorization in BerriAI 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.
AI Analysis
Technical Summary
This vulnerability in BerriAI litellm (versions 1.82.0 through 1.82.5) affects the async_pre_call_hook function in the enterprise_hooks/banned_keywords.py file of the Completions Interface component. The issue is caused by improper authorization checks when processing the prompt argument, which can be manipulated by an attacker remotely to bypass intended access controls. The vulnerability has a CVSS 4.0 base score of 5.3 (medium severity) with network attack vector, low complexity, no privileges required, and no user interaction needed. Although the vendor was contacted early, there is no available information on an official patch or remediation. Public exploit code is available, increasing the risk of exploitation.
Potential Impact
An attacker can remotely exploit this vulnerability by manipulating the prompt argument to bypass authorization controls in the affected function. This could lead to unauthorized access or actions within the Completions Interface component of BerriAI litellm. The CVSS score indicates a medium impact with potential for partial confidentiality, integrity, and availability loss. Since exploit code is publicly available, the risk of exploitation is heightened.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting network access to the affected component and monitor for suspicious activity related to prompt manipulation. Follow vendor communications closely for updates on patches or official mitigations.
CVE-2026-12797: Incorrect Authorization in BerriAI litellm
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 v4.0
Score 5.3medium
Affected software
pkg:pypi/litellmcpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in BerriAI litellm (versions 1.82.0 through 1.82.5) affects the async_pre_call_hook function in the enterprise_hooks/banned_keywords.py file of the Completions Interface component. The issue is caused by improper authorization checks when processing the prompt argument, which can be manipulated by an attacker remotely to bypass intended access controls. The vulnerability has a CVSS 4.0 base score of 5.3 (medium severity) with network attack vector, low complexity, no privileges required, and no user interaction needed. Although the vendor was contacted early, there is no available information on an official patch or remediation. Public exploit code is available, increasing the risk of exploitation.
Potential Impact
An attacker can remotely exploit this vulnerability by manipulating the prompt argument to bypass authorization controls in the affected function. This could lead to unauthorized access or actions within the Completions Interface component of BerriAI litellm. The CVSS score indicates a medium impact with potential for partial confidentiality, integrity, and availability loss. Since exploit code is publicly available, the risk of exploitation is heightened.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting network access to the affected component and monitor for suspicious activity related to prompt manipulation. Follow vendor communications closely for updates on patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-06-20T17:12:18.055Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a37b9055ae2df37ef7fc323
Added to database: 06/21/2026, 10:12:21 UTC
Last enriched: 06/28/2026, 21:57:27 UTC
Last updated: 08/05/2026, 00:41:11 UTC
Views: 78
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.