CVE-2026-12771 BerriAI litellm M2M JWT user_api_key_auth.py improper authorization

Low 2.3 Published Updated

Remote attackers can bypass authorization checks in the LiteLLM proxy's M2M JWT handler to gain unauthorized access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-12771?

CVE-2026-12771 is a low-severity missing authorization vulnerability in BerriAI litellm, published on 21 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-285, CWE-266

Which versions are affected by CVE-2026-12771?

3 open source packages ship an affected version, including litellm. It affects 1 product.

PackageAffectedFixed in
litellm PyPIAll versions to 1.82.2None
litellm PyPIAll versions to 1.82.2None
litellm PyPIAll versions to 1.82.2None

Products include Litellm Litellm.

How do I fix CVE-2026-12771?

Upgrade to a fixed version.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-12771 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-12771 exists.

Sources

Also known as CLEANSTART-2026-VZ18639, GHSA-qmf3-4767-5fg3, MINI-fwqh-m27j-q8qf, MINI-gq2q-42x3-p5mw, MINI-pq2f-v295-qm52, MINI-vccg-ww56-h79g and 1 more.

Is CVE-2026-12771 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free