# CVE-2026-12771: BerriAI litellm M2M JWT user_api_key_auth.py improper authorization

- Severity: Low 2.3 (CVSS:4.0, scored by VulDB) `CVSS: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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-06-21T01:00:12.198Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-qmf3-4767-5fg3, PYSEC-2026-4075
- Weaknesses: CWE-266, CWE-285
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- BerriAI litellm: 1.82.0; 1.82.1; 1.82.2
- litellm (PyPI): up to 1.82.2
- litellm litellm: before 1.82.3

## Every score

- VulDB: CVSS:4.0 2.3 Low `CVSS: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`
- VulDB: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 5.0 Medium `CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 4.6 Medium `AV:N/AC:H/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- GitHub: CVSS:3.1 5.0 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS: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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:4.0 `CVSS: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`

## References

- <https://vuldb.com/submit/811280> (exploit, third-party-advisory, vdb-entry, web)
- <https://gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d> (exploit, third-party-advisory, web)
- <https://vuldb.com/vuln/372513> (third-party-advisory, vdb-entry, web)
- <https://vuldb.com/vuln/372513/cti> (permissions-required, signature, vdb-entry, web)
- <https://vuldb.com/cve/CVE-2026-12771> (third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12771> (advisory)
- <https://github.com/BerriAI/litellm> (package)
- <https://pypi.org/project/litellm> (package)
- <https://github.com/advisories/GHSA-qmf3-4767-5fg3> (advisory)

## Sources

- CVE List: [CVE-2026-12771](https://www.cve.org/CVERecord?id=CVE-2026-12771), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-qmf3-4767-5fg3](https://github.com/advisories/GHSA-qmf3-4767-5fg3), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-12771](https://nvd.nist.gov/vuln/detail/CVE-2026-12771), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-4075](https://osv.dev/vulnerability/PYSEC-2026-4075), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-12771 · Whole record: https://cve.day/CVE-2026-12771.json · Rebuilt by cve.day 2026-11-25T22:59:25.314Z
