# CVE-2026-12797: BerriAI litellm Completions banned\_keywords.py async\_pre\_call\_hook authorization

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-21 · Modified: 2026-06-22
- Aliases: GHSA-p897-vf7j-f5h8, PYSEC-2026-4074
- Record: https://cvemate.com/vulnerability/CVE-2026-12797 · JSON: https://cvemate.com/vulnerability/CVE-2026-12797/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v2.0, CVE.org) AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR
- EPSS: 0.226%, percentile 14.215%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- berriai litellm: 1.82.0 \| 1.82.1 \| 1.82.2 \| 1.82.3 \| 1.82.4 \| 1.82.5
- litellm litellm: ≤ 1.82.5
- PyPI litellm (PyPI): ≤ 1.82.5

## References

- <https://vuldb.com/vuln/372559>
- <https://vuldb.com/vuln/372559/cti>
- <https://vuldb.com/cve/CVE-2026-12797>
- <https://vuldb.com/submit/811288>
- <https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12797>
- <https://github.com/BerriAI/litellm>
- <https://pypi.org/project/litellm>
- <https://github.com/advisories/GHSA-p897-vf7j-f5h8>

---

Data as of 2026-12-05T08:29:01.053Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
