---
schema_version: '1.0'
id: security-20261002-62da3c
title: 'CVE-2026-12771: LiteLLM: M2M JWT Handler Has Improper Authorization'
url: https://osv.dev/vulnerability/PYSEC-2026-4075
url_hash: 62da3c5d1bb1ae57f2096c0442e705fa2b17bd8a0211ed9fea551297f058e17d
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-4075
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-12771
- PYSEC-2026-4075
- 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-10-01T16:38:27Z'
fetched_at: '2026-10-02T04:02:59.713406Z'
updated_at: '2026-10-02T05:19:38Z'
status: published
content_hash: fa1ff5552cb191ff19efe141e3f8a35e31b03cbe9a188d924ee80c7de8e0c539
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-2026-87817
- Handler
- Has
- Improper
- JWT
- library vulnerability
- litellm
- M2M
- PyPI
- PYSEC-2026-4075
- 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-2026-87817
  type: event
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE-2026-87817
  type: event
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
computed_at: '2026-10-02T05:19:28Z'
---

# 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 / PYSEC-2026-4075 / 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:** PYSEC-2026-4075 (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
- https://pypi.org/project/litellm
- https://github.com/advisories/GHSA-qmf3-4767-5fg3

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

## Source
元記事: [CVE-2026-12771: LiteLLM: M2M JWT Handler Has Improper Authorization](https://osv.dev/vulnerability/PYSEC-2026-4075) — published 2026-10-01T16:38:27Z
