CVE-2026-12797

CVE-2026-12797 is a medium-severity vulnerability in Litellm with a CVSS 3.x base score of 6.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-285.

Key facts

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.

Frequently asked questions

What is CVE-2026-12797?
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.
How severe is CVE-2026-12797?
CVE-2026-12797 has a CVSS 3.x base score of 6.3, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
Is CVE-2026-12797 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (13th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-12797?
CVE-2026-12797 affects Litellm. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-12797?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2026-12797 have an EU (EUVD) identifier?
Yes. CVE-2026-12797 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-38156.
When was CVE-2026-12797 published?
CVE-2026-12797 was published on 2026-06-21 and last updated on 2026-06-24.

References

Affected products (1)

More vulnerabilities in Litellm

All CVEs affecting Litellm →

Other CWE-285 (Improper Authorization) vulnerabilities

Browse all CWE-285 (Improper Authorization) vulnerabilities →