Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-12797: Incorrect Authorization in BerriAI litellm

0
Medium
VulnerabilityCVE-2026-12797cvecve-2026-12797
Published: 06/21/2026 (06/21/2026, 09:15:08 UTC)
Source: CVE Database V5
Vendor/Project: BerriAI
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

litellm
pkg:pypi/litellm
Affected versions
=1.82.0=1.82.1=1.82.2=1.82.3=1.82.4=1.82.5
CPE configurations
cpe: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

AILast updated: 06/21/2026, 10:12:44 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses