CVE-2026-12797
published medium CVSS 4.0 · 5.3BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| BerriAI | — | litellm1.82.0 · 1.82.1 · 1.82.2 · 1.82.3 · 1.82.4 · 1.82.5 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | — |
| 3.0 | 6.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| BerriAI | litellm | 1.82.0 (affected)1.82.1 (affected)1.82.2 (affected)1.82.3 (affected)1.82.4 (affected)1.82.5 (affected) | VulDB · cna |
Weaknesses
2- CWE-863 Incorrect Authorization
- CWE-285 Improper Authorization
References
5- https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a
- CVE-2026-12797 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-12797
- Submit #811288 | litellm <= 1.82.5 Incorrect Authorization (CWE-863) https://vuldb.com/submit/811288
- VDB-372559 | BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization https://vuldb.com/vuln/372559
- VDB-372559 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/372559/cti
Provider assertions
2VulDB · cna
BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c26f7e934b1d8e18e190ef93d22c94161d4297762585203e1406e3d65ee0a9d8
- Ingested
- 23 Sep 2026, 09:01:12 UTC
- Source record
- Official CVE record