# PYSEC-2026-4075: LiteLLM: M2M JWT Handler Has Improper Authorization

- Database: PyPA
- Published: 2026-10-01
- Modified: 2026-10-01

## Tracked as

- [CVE-2026-12771](https://cve.now/CVE-2026-12771.md): BerriAI litellm M2M JWT user\_api\_key\_auth.py improper authorization

## Also published as

- [GHSA-QMF3-4767-5FG3](https://cve.now/GHSA-QMF3-4767-5FG3.md) (GitHub)

## Affected versions

- litellm (PyPI): through 1.82.2

## Description

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

Page: https://cve.now/PYSEC-2026-4075

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
