---
schema_version: '1.0'
id: security-20260911-1bf100
title: 'CVE-2026-12771: LiteLLM: M2M JWT Handler Has Improper Authorization'
url: https://osv.dev/vulnerability/GHSA-qmf3-4767-5fg3
url_hash: 1bf10099b686d55de5840ef24a7d83083aa28e4e9684d1b8a6d097ec258d6e61
canonical_url: https://osv.dev/vulnerability/GHSA-qmf3-4767-5fg3
source: osv:ghsa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-12771
- GHSA-qmf3-4767-5fg3
- severity:CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- litellm
- PyPI
lang: en
published_at: '2026-06-21T03:30:24Z'
fetched_at: '2026-09-11T15:47:32.395068Z'
updated_at: '2026-09-11T15:48:37Z'
status: published
content_hash: f695023a6a184a70888fc7bfcfe9bc40782b31208b79bcc679f28d7c30f8b220
content_changed_at: null
license_note: full
summary: 'LiteLLM: M2M JWT Handler Has Improper Authorization'
summary_source: rss
summary_en: 'LiteLLM: M2M JWT Handler Has Improper Authorization'
summary_omitted_reason: null
redistribution: true
keywords_en:
- Authorization
- cve
- CVE-2026-12771
- CVE/PYSEC ID
- GHSA-qmf3-4767-5fg3
- Handler
- Has
- Improper
- JWT
- library vulnerability
- LiteLLM
- M2M
- PyPI
- severity:CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- software security
entities_en:
- name: CVE/PYSEC ID
  type: data
- name: LiteLLM
  type: organization
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE/PYSEC ID
  type: data
- name: LiteLLM
  type: organization
key_facts: []
related: []
related_auto: []
computed_at: '2026-09-11T15:48:36Z'
---

# CVE-2026-12771: LiteLLM: M2M JWT Handler Has Improper Authorization

## TL;DR
LiteLLM: M2M JWT Handler Has Improper Authorization

## Key Points
- cve / CVE-2026-12771 / GHSA-qmf3-4767-5fg3 / severity:CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L / litellm / PyPI

## Details
**Severity:** CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
**Advisory:** GHSA-qmf3-4767-5fg3 (CVE-2026-12771)

**Details:**
A vulnerability was identified in BerriAI litellm up to 1.82.2. This affects an unknown function of the file litellm/proxy/auth/user_api_key_auth.py of the component M2M JWT Handler. Such manipulation leads to improper authorization. The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is reported as difficult. 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-12771
- https://gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d
- https://github.com/BerriAI/litellm
- https://vuldb.com/cve/CVE-2026-12771
- https://vuldb.com/submit/811280
- https://vuldb.com/vuln/372513
- https://vuldb.com/vuln/372513/cti

_Data: OSV.dev (upstream: ghsa) — https://osv.dev/vulnerability/GHSA-qmf3-4767-5fg3_

## Source
元記事: [CVE-2026-12771: LiteLLM: M2M JWT Handler Has Improper Authorization](https://osv.dev/vulnerability/GHSA-qmf3-4767-5fg3) — published 2026-06-21T03:30:24Z
