CVE-2026-12771: BerriAI litellm M2M JWT user_api_key_auth.py improper authorization
Vulnerability summary
CVE-2026-12771 is a high (CVSS 7.5) Incorrect Privilege Assignment vulnerability in berriai litellm. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 22.9% of scored vulnerabilities. 2 public exploits are recorded.
Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 21-06-2026PublishedVulnerability first disclosed.
- 22-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 3 sources · 4 versions- OSV · PypiEcosystem advisory · calculated2.3LowCVSS:4.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
- NVDNIST1.3LowCVSS:4.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:XDiffers
- CVE.orgCNA5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:RDiffers
- OSV · PypiEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- NVDNIST4.6MediumAV:N/AC:H/Au:S/C:P/I:P/A:P
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
Decrease -0.14 pp
From 0.43% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 found70E4E106527F74Ddf17953Ff0F6C248D
Maturity: poc
Exploit Reference (vuldb.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-266Incorrect Privilege AssignmentA product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.
- CWE-285Improper AuthorizationThe product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Berriai1 product
- litellm1.82.0 | 1.82.1 | 1.82.2
Litellm1 product
- litellm< 1.82.3
PyPI1 product
- litellm≤ 1.82.2
3 vendors · 3 products
References
9 links- github.com/BerriAI/litellmPACKAGE
- pypi.org/project/litellmPACKAGE