Vulnerability · Published Jun 21, 2026 · Assigned by VulDB
CVE-2026-12772BerriAI litellm PROXY_ADMIN database API Key Generator login_utils.py authenticate_user session expiration
Medium 6.3
In plain English
A medium-severity security flaw in litellm from BerriAI. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | litellm | no fix listed | GHSA-mf52-j94g-746m |
| PyPI | litellm | no fix listed | PYSEC-2026-4073 |
Affected products (as reported)
Weakness: CWE-613 · Vector: 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
References
- VDB-372514 | BerriAI litellm PROXY_ADMIN database API Key Generator login_utils.py authenticate_user session expiration vdb-entry, technical-description
- VDB-372514 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- CVE-2026-12772 | CVE Analysis and Report third-party-advisory
- Submit #811281 | litellm <= 1.82.2 Insufficient Session Expiration (CWE-613) third-party-advisory
- https://gist.github.com/YLChen-007/39ed709ce322431658a05b951e91f278 exploit