CVE-2026-12796 BerriAI litellm SSO Authentication Flow ui_sso.py get_redirect_response_from_openid session expiration
Attackers can bypass SSO authentication in LiteLLM due to improper session expiration handling in the OpenID redirect flow.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-12796?
CVE-2026-12796 is a medium-severity authentication bypass vulnerability in BerriAI litellm, published on 21 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was identified in BerriAI litellm up to 1.82.2. This impacts the function get_redirect_response_from_openid of the file litellm/proxy/management_endpoints/ui_sso.py of the component SSO Authentication Flow. The manipulation leads to session expiration. The attack is possible to be carried out remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure.
Weakness: CWE-613
Which versions are affected by CVE-2026-12796?
3 open source packages ship an affected version, including litellm. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
litellm PyPI | All versions to 1.82.2 | None |
litellm PyPI | All versions to 1.82.2 | None |
litellm PyPI | All versions to 1.82.2 | None |
Products include Litellm Litellm.
How do I fix CVE-2026-12796?
Upgrade to a fixed version.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-12796 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-12796 exists.
Other vulnerabilities in BerriAI litellm
Sources
Also known as GHSA-w2mh-qq9q-453x, MINI-gmpf-9279-5xgv, MINI-qprv-v6hv-89jj, MINI-r79w-5r5h-5hh5, MINI-v43m-hj26-32h9, PYSEC-2026-4076.