Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
BerriAI litellm
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LiteLLM是LiteLLM团队开源的一个应用程序。 litellm 1.82.2及之前版本存在安全漏洞,该漏洞源于文件litellm/proxy/auth/user_api_key_auth.py的M2M JWT Handler组件中存在不当授权问题,可能导致远程攻击者进行不当授权。

CVSS 5.0 · Medium EPSS 0.43% · P36

Affected Version Matrix 3

VendorProduct Version RangeStatus
BerriAI litellm 1.82.0 affected
1.82.1 affected
1.82.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-12771

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
BerriAI litellm M2M JWT user_api_key_auth.py improper authorization
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
litellm 权限许可和访问控制问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LiteLLM是LiteLLM团队开源的一个应用程序。 litellm 1.82.2及之前版本存在安全漏洞,该漏洞源于文件litellm/proxy/auth/user_api_key_auth.py的M2M JWT Handler组件中存在不当授权问题,可能导致远程攻击者进行不当授权。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
BerriAI litellm 1.82.0 cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-12771

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-12771

请登录查看更多情报信息。

Proof of Concept for CVE-2026-12771 (1)

Same Patch Batch · BerriAI · 2026-06-21 · 10 CVEs total

CVE-2026-12773 7.3 HIGH BerriAI litellm MCP Proxy user_api_key_auth_mcp.py UserAPIKeyAuth improper authentication
CVE-2026-12795 7.3 HIGH BerriAI litellm SSO Debug Flow ui_sso.py json.dumps missing authentication
CVE-2026-12798 6.3 MEDIUM BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_asyn
CVE-2026-12774 6.3 MEDIUM BerriAI litellm MCP Server Connection Testing rest_endpoints.py _execute_with_mcp_client s
CVE-2026-12796 6.3 MEDIUM BerriAI litellm SSO Authentication Flow ui_sso.py get_redirect_response_from_openid sessio
CVE-2026-12772 6.3 MEDIUM BerriAI litellm PROXY_ADMIN database API Key Generator login_utils.py authenticate_user se
CVE-2026-12797 6.3 MEDIUM BerriAI litellm Completions banned_keywords.py async_pre_call_hook authorization
CVE-2026-12770 5.4 MEDIUM BerriAI litellm Admin Key key_management_endpoints.py improper authorization
CVE-2026-12799 4.3 MEDIUM BerriAI litellm Incomplete Fix CVE-2025-0628 internal_user_endpoints.py ui_view_users impr

IV. Related Vulnerabilities

V. Comments for CVE-2026-12771

No comments yet


Leave a comment