mediumCVSS 6.3NVD status: Analyzed

CVE-2026-12797

LiteLLM: A security flaw has been discovered in BerriAI litellm up to 1.82.5.

ComponentLiteLLM
Severitymedium (CVSS 6.3)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Published (NVD)2026-06-21
Last modified2026-06-24
Affected versions
litellm <= 1.82.5
Fixed insee the vendor advisory
WeaknessCWE-285CWE-863
CISA KEVnot listed

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.

Does CVE-2026-12797 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for LiteLLM.
Check my stack

What to do

  • NVD lists no fixed version 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

Read more

Other LiteLLM CVEs

All LiteLLM CVEs