Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privileged LiteLLM API credentials
-
DeliveryIdentify banned keyword in enterprise policy
-
ExploitCraft prompt with bypass manipulation (encoding/whitespace/structure)
-
InstallSubmit crafted request to Completions Interface
-
C2async_pre_call_hook incorrectly authorizes request
-
ExecuteBanned prompt forwarded to upstream LLM provider
-
ImpactPolicy-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 ( |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.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- 13 pypi packages depend on litellm (12 direct, 1 indirect)
Ecosystem-wide dependent count for version 1.82.5.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote command execution in LiteLLM proxy server versions 1.74.2 through 1.83.6 allows any authenticated user to execute
SQL injection in LiteLLM proxy server versions 1.81.16 through 1.83.6 allows unauthenticated remote attackers to read an
Authentication bypass in LiteLLM (BerriAI) proxy/AI Gateway before 1.84.0 lets a remote unauthenticated attacker reach M
BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. Rated critical s
Remote code execution in BerriAI LiteLLM (all versions through 2026-04-08) enables authenticated attackers to execute ar
BerriAI's litellm, in its latest version, is vulnerable to arbitrary file deletion due to improper input validation on t
Authentication bypass in the LiteLLM proxy lets any party who already holds a valid JWT issued by the configured externa
In berriai/litellm version v1.52.1, an issue in proxy_server.py causes the leakage of Langfuse API keys when an error oc
In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerabi
A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. Rated high severity (CVSS
An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the `/global/spend/logs` en
A code injection vulnerability exists in the berriai/litellm application, version 1.34.6, due to the use of unvalidated
EUVD-2026-38156
GHSA-p897-vf7j-f5h8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB