CVE-2026-12771
BerriAI litellm M2M JWT user_api_key_auth.py improper authorization
Description
A vulnerability was identified in BerriAI litellm up to 1.82.2. This affects an unknown function of the file litellm/proxy/auth/user_api_key_auth.py of the component M2M JWT Handler. Such manipulation leads to improper authorization. The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is reported as difficult. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure.
INFO
Published Date :
June 21, 2026, 2:16 a.m.
Last Modified :
June 24, 2026, 8:31 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | LOW | [email protected] |
Solution
- Update litellm to the latest version.
- Review authentication and authorization logic.
- Implement stricter access controls.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-12771.
| URL | Resource |
|---|---|
| https://gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d | Exploit Third Party Advisory |
| https://vuldb.com/cve/CVE-2026-12771 | Third Party Advisory VDB Entry |
| https://vuldb.com/submit/811280 | Third Party Advisory Exploit VDB Entry |
| https://vuldb.com/vuln/372513 | Third Party Advisory VDB Entry |
| https://vuldb.com/vuln/372513/cti | Permissions Required VDB Entry |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-12771 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-12771
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-12771 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-12771 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jun. 24, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* versions up to (excluding) 1.82.3 Added Reference Type VulDB: https://gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d Types: Exploit, Third Party Advisory Added Reference Type VulDB: https://vuldb.com/cve/CVE-2026-12771 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/submit/811280 Types: Exploit, Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/vuln/372513 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/vuln/372513/cti Types: Permissions Required, VDB Entry -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 22, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-12771', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-22T13:32:58.469818Z'} -
New CVE Received by [email protected]
Jun. 21, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*'], 'vendor': 'BerriAI', 'modules': ['M2M JWT Handler'], 'product': 'litellm', 'versions': [{'status': 'affected', 'version': '1.82.0'}, {'status': 'affected', 'version': '1.82.1'}, {'status': 'affected', 'version': '1.82.2'}]}] Added Description A vulnerability was identified in BerriAI litellm up to 1.82.2. This affects an unknown function of the file litellm/proxy/auth/user_api_key_auth.py of the component M2M JWT Handler. Such manipulation leads to improper authorization. The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is reported as difficult. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure. Added CVSS V4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L Added CVSS V2 (AV:N/AC:H/Au:S/C:P/I:P/A:P) Added CWE CWE-285 Added CWE CWE-266 Added Reference https://gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d Added Reference https://vuldb.com/cve/CVE-2026-12771 Added Reference https://vuldb.com/submit/811280 Added Reference https://vuldb.com/vuln/372513 Added Reference https://vuldb.com/vuln/372513/cti