5.3medium
BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-p897-vf7j-f5h8PYSEC-2026-4074
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| BerriAI litellm | 1.82.0, 1.82.1, 1.82.2, 1.82.3, 1.82.4, 1.82.5 | CVE List |
| litellm (PyPI) | up to 1.82.5 | GitHub Advisory Database, PyPA Advisory Database |
| litellm litellm | up to 1.82.5 | NVD |
All scores
| VulDB | 5.3medium CVSS:4.0 | 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 |
| VulDB | 6.3medium CVSS:3.1 | 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 |
| VulDB | 6.3medium CVSS:3.0 | 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 |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| GitHub | 6.3low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | low CVSS:4.0 | 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 |
| PyPA Advisory Database | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha descubierto una vulnerabilidad de seguridad en BerriAI litellm hasta la versión 1.82.5. Afecta a la función async_pre_call_hook del archivo enterprise/enterprise_hooks/banned_keywords.py del componente Completions Interface. La manipulación del argumento prompt resulta en una autorización incorrecta. El ataque puede realizarse de forma remota. El exploit ha sido publicado y puede utilizarse para ataques. El proveedor fue contactado con antelación sobre esta divulgación.
References
| https://vuldb.com/vuln/372559 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/vuln/372559/cti | permissions-required, signature, vdb-entry, web | |
| https://vuldb.com/cve/CVE-2026-12797 | third-party-advisory, vdb-entry, web | |
| https://vuldb.com/submit/811288 | exploit, third-party-advisory, vdb-entry, web | |
| https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-12797 | advisory | |
| https://github.com/BerriAI/litellm | package | |
| https://pypi.org/project/litellm | package | |
| https://github.com/advisories/GHSA-p897-vf7j-f5h8 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12797 changed 2026-06-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p897-vf7j-f5h8 changed 2026-10-01 | CC-BY-4.0 |
| NVD | CVE-2026-12797 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-4074 changed 2026-10-01 | CC-BY-4.0 |