# CVE-2026-12771: BerriAI litellm M2M JWT user\_api\_key\_auth.py improper authorization

- Priority: **Routine**
- Reason: Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-21 · Modified: 2026-06-22
- Aliases: GHSA-qmf3-4767-5fg3, PYSEC-2026-4075
- Record: https://cvemate.com/vulnerability/CVE-2026-12771 · JSON: https://cvemate.com/vulnerability/CVE-2026-12771/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.288%, percentile 22.935%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- berriai litellm: 1.82.0 \| 1.82.1 \| 1.82.2
- litellm litellm: \< 1.82.3
- PyPI litellm (PyPI): ≤ 1.82.2

## References

- <https://vuldb.com/vuln/372513>
- <https://vuldb.com/vuln/372513/cti>
- <https://vuldb.com/cve/CVE-2026-12771>
- <https://vuldb.com/submit/811280>
- <https://gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12771>
- <https://github.com/BerriAI/litellm>
- <https://pypi.org/project/litellm>
- <https://github.com/advisories/GHSA-qmf3-4767-5fg3>

---

Data as of 2026-12-05T13:17:47.086Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
