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 affects BerriAI litellm up to version 1.82.5 in the async_pre_call_hook function of enterprise/enterprise_hooks/banned_keywords.py. The issue arises from improper authorization checks when handling the prompt argument, enabling remote attackers to exploit this flaw. The vulnerability has been publicly disclosed and the exploit code is available, but no official fix or patch has been released by the vendor as of the publication date. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required, no user interaction, and low to low impact on confidentiality, integrity, and availability.
Potential Impact
The vulnerability allows remote attackers to bypass authorization controls by manipulating the prompt argument in the affected function. This could lead to unauthorized access or actions within the Completions Interface component of BerriAI litellm. The CVSS score of 5.3 reflects a medium impact with potential limited confidentiality, integrity, and availability consequences.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch has been released, users should monitor vendor communications for updates. Until a patch is available, consider restricting access to the affected component and applying compensating controls to limit exposure to remote attacks.
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 affects BerriAI litellm up to version 1.82.5 in the async_pre_call_hook function of enterprise/enterprise_hooks/banned_keywords.py. The issue arises from improper authorization checks when handling the prompt argument, enabling remote attackers to exploit this flaw. The vulnerability has been publicly disclosed and the exploit code is available, but no official fix or patch has been released by the vendor as of the publication date. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required, no user interaction, and low to low impact on confidentiality, integrity, and availability.
Potential Impact
The vulnerability allows remote attackers to bypass authorization controls by manipulating the prompt argument in the affected function. This could lead to unauthorized access or actions within the Completions Interface component of BerriAI litellm. The CVSS score of 5.3 reflects a medium impact with potential limited confidentiality, integrity, and availability consequences.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch has been released, users should monitor vendor communications for updates. Until a patch is available, consider restricting access to the affected component and applying compensating controls to limit exposure to remote attacks.
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/21/2026, 10:12:44 UTC
Last updated: 06/21/2026, 10:22:10 UTC
Views: 2
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.