---
id: CVE-2026-12772
aliases:
  - GHSA-mf52-j94g-746m
title: >-
  LiteLLM: PROXY_ADMIN database API Key Generator Has Insufficient Session
  Expiration
summary: >-
  LiteLLM: PROXY_ADMIN database API Key Generator Has Insufficient Session
  Expiration
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: litellm
product: litellm
ecosystem: pip
affected:
  - litellm <= 1.82.2
published: '2026-06-21'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T19:45:05.196970373Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-mf52-j94g-746m'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-12772'
  - url: 'https://gist.github.com/YLChen-007/39ed709ce322431658a05b951e91f278'
  - url: 'https://github.com/BerriAI/litellm'
  - url: 'https://vuldb.com/cve/CVE-2026-12772'
  - url: 'https://vuldb.com/submit/811281'
  - url: 'https://vuldb.com/vuln/372514'
  - url: 'https://vuldb.com/vuln/372514/cti'
  - url: 'https://github.com/advisories/GHSA-mf52-j94g-746m'
tags:
  - osv
  - pip
  - ghsa
epss: 0.004
epssPercentile: 0.31563
cwe:
  - CWE-613
ingestedAt: '2026-09-10T20:04:29.998Z'
---

## Overview

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

- `litellm <= 1.82.2`

## Remediation

Refer to the advisory for the patched release.
