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.
References
Link Resource
https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a Exploit Third Party Advisory
https://vuldb.com/cve/CVE-2026-12797 Third Party Advisory VDB Entry
https://vuldb.com/submit/811288 Third Party Advisory Exploit VDB Entry
https://vuldb.com/vuln/372559 Third Party Advisory VDB Entry
https://vuldb.com/vuln/372559/cti Permissions Required VDB Entry
Configurations

Configuration 1 (hide)

cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*

History

24 Jun 2026, 19:50

Type Values Removed Values Added
First Time Litellm
Litellm litellm
CPE cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*
References () https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a - () https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a - Exploit, Third Party Advisory
References () https://vuldb.com/cve/CVE-2026-12797 - () https://vuldb.com/cve/CVE-2026-12797 - Third Party Advisory, VDB Entry
References () https://vuldb.com/submit/811288 - () https://vuldb.com/submit/811288 - Third Party Advisory, Exploit, VDB Entry
References () https://vuldb.com/vuln/372559 - () https://vuldb.com/vuln/372559 - Third Party Advisory, VDB Entry
References () https://vuldb.com/vuln/372559/cti - () https://vuldb.com/vuln/372559/cti - Permissions Required, VDB Entry

21 Jun 2026, 10:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-21 10:16

Updated : 2026-06-24 19:50


NVD link : CVE-2026-12797

Mitre link : CVE-2026-12797

CVE.ORG link : CVE-2026-12797


JSON object : View

Products Affected

litellm

  • litellm
CWE
CWE-285

Improper Authorization

CWE-863

Incorrect Authorization