---
schema_version: '1.0'
id: security-20261002-c689dc
title: 'CVE-2026-12796: BerriAI litellm: SSO Login Does Not Invalidate Previous UI
  Session Tokens'
url: https://osv.dev/vulnerability/PYSEC-2026-4076
url_hash: c689dc27300f1869550def02c2bf6799a5d8229a4edec46ebe4336488f16e9cc
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-4076
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-12796
- PYSEC-2026-4076
- severity:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- litellm
- PyPI
lang: en
published_at: '2026-10-01T16:38:28Z'
fetched_at: '2026-10-02T04:02:59.716442Z'
updated_at: '2026-10-02T05:19:38Z'
status: published
content_hash: 52c4d82f7731503aef8fd237eacb7f392e1b3c7bb13da410edf373304af9bf06
content_changed_at: null
license_note: full
summary: 'BerriAI litellm: SSO Login Does Not Invalidate Previous UI Session Tokens'
summary_source: rss
summary_en: 'BerriAI litellm: SSO Login Does Not Invalidate Previous UI Session Tokens'
summary_omitted_reason: null
redistribution: true
keywords_en:
- BerriAI
- cve
- CVE-2026-12796
- CVE-2026-87817
- Does
- Invalidate
- library vulnerability
- litellm
- Login
- Missouri
- Not
- Previous
- PyPI
- PYSEC-2026-4076
- Session
- severity:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- software security
- SSO
- Tokens
entities_en:
- name: CVE-2026-87817
  type: event
- name: Missouri
  type: location
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE-2026-87817
  type: event
- name: Missouri
  type: location
key_facts: []
related: []
related_auto:
- name: GitPython
  type: concept
  weight: 1.0
- name: hooks/pre-commit
  type: artifact
  weight: 1.0
- name: GitHub Security Advisory
  type: content
  weight: 1.0
- name: LabTests
  type: event
  weight: 1.0
computed_at: '2026-10-02T05:19:29Z'
---

# CVE-2026-12796: BerriAI litellm: SSO Login Does Not Invalidate Previous UI Session Tokens

## TL;DR
BerriAI litellm: SSO Login Does Not Invalidate Previous UI Session Tokens

## Key Points
- cve / CVE-2026-12796 / PYSEC-2026-4076 / severity:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L / litellm / PyPI

## Details
**Severity:** CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
**Advisory:** PYSEC-2026-4076 (CVE-2026-12796)

**Details:**
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.

**References:**
- https://nvd.nist.gov/vuln/detail/CVE-2026-12796
- https://gist.github.com/YLChen-007/5fa8af12e1b183674d7ca96d852fb697
- https://github.com/BerriAI/litellm
- https://vuldb.com/cve/CVE-2026-12796
- https://vuldb.com/submit/811287
- https://vuldb.com/vuln/372558
- https://vuldb.com/vuln/372558/cti
- https://pypi.org/project/litellm
- https://github.com/advisories/GHSA-w2mh-qq9q-453x

_Data: OSV.dev (upstream: pypa) — https://osv.dev/vulnerability/PYSEC-2026-4076_

## Source
元記事: [CVE-2026-12796: BerriAI litellm: SSO Login Does Not Invalidate Previous UI Session Tokens](https://osv.dev/vulnerability/PYSEC-2026-4076) — published 2026-10-01T16:38:28Z
