# CVE-2026-12772: BerriAI litellm PROXY_ADMIN database API Key Generator login_utils.py authenticate_user session expiration

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/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.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-06-21T02:00:08.882Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-mf52-j94g-746m, PYSEC-2026-4073
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A security flaw has been discovered in BerriAI litellm up to 1.82.2. This impacts the function authenticate_user of the file litellm/proxy/auth/login_utils.py of the component PROXY_ADMIN database API Key Generator. Performing a manipulation results in session expiration. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. 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 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- GitHub: CVSS:3.1 6.3 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- PyPA Advisory Database: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/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/811281> (exploit, third-party-advisory, vdb-entry, web)
- <https://gist.github.com/YLChen-007/39ed709ce322431658a05b951e91f278> (exploit, third-party-advisory, web)
- <https://vuldb.com/vuln/372514> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/vuln/372514/cti> (permissions-required, signature, vdb-entry, web)
- <https://vuldb.com/cve/CVE-2026-12772> (third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12772> (advisory)
- <https://github.com/BerriAI/litellm> (package)
- <https://pypi.org/project/litellm> (package)
- <https://github.com/advisories/GHSA-mf52-j94g-746m> (advisory)

## Sources

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

---

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