| Component | LiteLLM |
| Severity | medium (CVSS 6.3) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| Published (NVD) | 2026-06-21 |
| Last modified | 2026-10-25 |
| Affected versions | <= 1.82.5 from the GitHub-reviewed advisory GHSA-p897-vf7j-f5h8 |
| Fixed in | see the vendor advisory |
| Weakness | CWE-285CWE-863 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's analysis gives the same ranges as the GitHub-reviewed advisory GHSA-p897-vf7j-f5h8.
NVD 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.
What to do
- No fixed release is known yet: follow the vendor advisory below and keep LiteLLM off the public internet until a fix ships.
- Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-12797
- https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a
- https://vuldb.com/submit/811288
- https://vuldb.com/cve/CVE-2026-12797
- https://vuldb.com/vuln/372559
- https://vuldb.com/vuln/372559/cti