CVE-2026-12797: A security flaw has been discovered in BerriAI litellm up to 1.82.5
CVE-2026-12797 is a medium-severity flaw (CVSS 6.3) affecting litellm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 discl
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-12797?
litellm: upgrade to newer than 1.82.5. Exact commands for each OS are on this page.
Is CVE-2026-12797 being exploited?
CVE-2026-12797 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-12797 affect?
CVE-2026-12797 affects litellm. Severity is medium (CVSS 6.3). 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 arg
How urgent is CVE-2026-12797?
Priority 36/100. Public exploit reference
Related CVEs
- CVE-2026-49468 CRITICAL 9.8 UPGRADE LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format
- CVE-2026-12773 HIGH 7.3 UPGRADE A weakness has been identified in BerriAI litellm up to 1.59.8
- CVE-2026-12795 HIGH 7.3 UPGRADE A vulnerability was determined in BerriAI litellm up to 1.82.2
- CVE-2026-12796 MEDIUM 6.3 UPGRADE A vulnerability was identified in BerriAI litellm up to 1.82.2
- CVE-2026-12770 MEDIUM 5.4 UPGRADE A vulnerability was determined in BerriAI litellm up to 1.63.1