Skip to main content

LiteLLM EUVDEUVD-2026-38156

| CVE-2026-12797 LOW
Incorrect Authorization (CWE-863)
2026-06-21 VulDB GHSA-p897-vf7j-f5h8
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain low-privileged LiteLLM API credentials
  2. Delivery
    Identify banned keyword in enterprise policy
  3. Exploit
    Craft prompt with bypass manipulation (encoding/whitespace/structure)
  4. Install
    Submit crafted request to Completions Interface
  5. C2
    async_pre_call_hook incorrectly authorizes request
  6. Execute
    Banned prompt forwarded to upstream LLM provider
  7. Impact
    Policy-violating completion returned to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid low-privileged authenticated account on the LiteLLM enterprise API, consistent with the PR:L metric in the provided CVSS 4.0 vector. The enterprise banned keywords hook (enterprise/enterprise_hooks/banned_keywords.py) must be actively deployed and configured with at least one banned keyword rule - this is an enterprise-edition feature not present in standard open-source LiteLLM installations. Network access to the Completions Interface endpoint is required (AV:N). The bypass mechanism operates through manipulation of the prompt argument, suggesting the filter evaluates a normalized or pre-processed representation that diverges from the actual value forwarded to the backend. Exploitation is constrained to: (1) LiteLLM versions 1.82.0-1.82.5, (2) enterprise deployments with the banned_keywords hook enabled, and (3) users holding valid API credentials. Unauthenticated attackers cannot exploit this vulnerability.

Impact

The CVSS 4.0 score of 2.1 with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L and supplemental metric E:P reflects a low-to-moderate base risk: network-reachable, low complexity, but requiring authenticated (low-privileged) access, with limited CIA impacts. The E:P metric confirms a public PoC exists, collapsing the gap between theoretical and practical exploitability. No CISA KEV listing is present in the input data, so widespread in-the-wild exploitation is not confirmed. EPSS data was not provided, leaving exploitation probability unquantifiable from this dataset. The low CVSS score should not be interpreted as uniformly low organizational risk: deployments that enforce banned keywords as a compliance control (e.g., preventing policy-violating prompts in regulated environments, blocking prompt-injection attempts, or enforcing data handling constraints) face disproportionately higher business risk than the base score implies. The attack requires an existing authenticated session, which limits opportunistic exploitation but does not protect against insider threats or credential-compromised accounts.

Exploit ScenarioDerived

An authenticated low-privileged API user targeting an enterprise LiteLLM 1.82.x deployment submits a Completions API request with a crafted prompt argument - for example, using encoding variations, whitespace injection, or structural manipulation - that causes async_pre_call_hook to incorrectly authorize the request despite its content matching a configured banned keyword. The hook passes the request upstream to the LLM provider, which returns a completion based on content that the enterprise policy was explicitly configured to block. A public proof-of-concept demonstrating this technique is available at https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 22, 2026

Incorrect authorization in BerriAI LiteLLM's enterprise banned keywords hook allows remote low-privileged authenticated users to bypass prompt content filtering by manipulating the prompt argument to the async_pre_call_hook function in enterprise/enterprise_hooks/banned_keywords.py. All versions in the 1.82.x series up to and including 1.82.5 are confirmed affected. A public proof-of-concept exploit is available via GitHub Gist, materially increasing the risk for enterprise deployments that rely on the banned keywords feature as a compliance or safety enforcement boundary; no confirmed CISA KEV listing exists at time of analysis.

RemediationAI

No vendor-released patched version has been independently confirmed at time of analysis - the VulDB submission (https://vuldb.com/submit/811288) notes early vendor contact but no fix version appears in any available reference. Operators should monitor the BerriAI LiteLLM GitHub repository and VulDB advisory page (https://vuldb.com/vuln/372559) for patch availability. As an immediate compensating control, disable or remove the banned_keywords enterprise hook from the middleware chain and migrate keyword enforcement to an upstream API gateway or reverse proxy that cannot be bypassed via prompt argument manipulation - this eliminates the vulnerable code path but fully disables in-LiteLLM keyword filtering. Alternatively, restrict Completions Interface access to a tightly scoped set of fully trusted authenticated users, reducing the population of principals who can attempt the bypass. If the hook must remain active, consider supplementing it with server-side prompt normalization (canonicalization of encoding and whitespace) before the hook evaluates content, which may reduce bypass surface while the vendor patch is pending.

Affected VersionsENISA

LiteLLM 1.82.3
LiteLLM 1.82.4
LiteLLM 1.82.2
LiteLLM 1.82.0
LiteLLM 1.82.5
LiteLLM 1.82.1

Affected Packages

pypi litellm no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LiteLLM is a Python-based LLM proxy and unified API layer that routes requests to multiple upstream large language model providers. Its enterprise edition includes a hook-based middleware pipeline for pre-call processing; enterprise/enterprise_hooks/banned_keywords.py implements an asynchronous hook (async_pre_call_hook) designed to inspect incoming prompt content and reject requests containing prohibited terms before forwarding them to the LLM backend. CWE-863 (Incorrect Authorization) identifies the root cause: the access control decision governing whether a prompt is permitted or blocked is made incorrectly - likely because the hook evaluates a different representation of the prompt than what is ultimately dispatched, or the authorization check can be skipped via parameter manipulation. The affected CPE is cpe:2.3:a:berriai:litellm:*:*:*:*:*:*:*:*, with EUVD-2026-38156 narrowing the confirmed range to the 1.82.x release train.

Know when Litellm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Low-privileged network authentication required; scope unchanged; no availability impact from a content-filter bypass; confidentiality and integrity limited by the hook's position in the request pipeline.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 21, 2026 - 10:22 NVD
MEDIUM LOW
CVSS changed
Jun 21, 2026 - 10:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 13 pypi packages depend on litellm (12 direct, 1 indirect)

Ecosystem-wide dependent count for version 1.82.5.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-42271 HIGH POC
8.7 May 08

Remote command execution in LiteLLM proxy server versions 1.74.2 through 1.83.6 allows any authenticated user to execute

CVE-2026-42208 CRITICAL POC
9.3 May 08

SQL injection in LiteLLM proxy server versions 1.81.16 through 1.83.6 allows unauthenticated remote attackers to read an

CVE-2026-59822 HIGH POC
8.8 Jul 08

Authentication bypass in LiteLLM (BerriAI) proxy/AI Gateway before 1.84.0 lets a remote unauthenticated attacker reach M

CVE-2024-2952 CRITICAL POC
9.8 Apr 10

BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. Rated critical s

CVE-2026-40217 HIGH POC
8.8 Apr 10

Remote code execution in BerriAI LiteLLM (all versions through 2026-04-08) enables authenticated attackers to execute ar

CVE-2024-4888 HIGH POC
8.1 Jun 06

BerriAI's litellm, in its latest version, is vulnerable to arbitrary file deletion due to improper input validation on t

CVE-2026-93355 HIGH POC
7.6 Sep 28

Authentication bypass in the LiteLLM proxy lets any party who already holds a valid JWT issued by the configured externa

CVE-2025-0330 HIGH POC
7.5 Mar 20

In berriai/litellm version v1.52.1, an issue in proxy_server.py causes the leakage of Langfuse API keys when an error oc

CVE-2024-9606 HIGH POC
7.5 Mar 20

In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerabi

CVE-2024-6587 HIGH POC
7.5 Sep 13

A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. Rated high severity (CVSS

CVE-2024-5225 HIGH POC
7.2 Jun 06

An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the `/global/spend/logs` en

CVE-2024-4889 HIGH POC
7.2 Jun 06

A code injection vulnerability exists in the berriai/litellm application, version 1.34.6, due to the use of unvalidated

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy