A vulnerability was identified in BerriAI litellm up to 1.82.2.
Date: 2026-06
Affected: litellm/litellm
Attack vector: auth-bypass
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2026-12771
CVE-2026-12796
CWE: CWE-266
CWE-285
CWE-613
CVSS: 5 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L)

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.


Mitigations:

Architectural layers (MAESTRO):