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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-42208— LiteLLM: SQL injection in Proxy API key verification

Quick assessment

Affected
BerriAI litellm
Exploitation
Confirmed exploitation in the wild; remediate immediately
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LiteLLM是Berri AI开源的一个应用程序。可以使用 OpenAI 格式调用所有 LLM API。 LiteLLM 1.81.16版本至1.83.7之前版本存在SQL注入漏洞,该漏洞源于代理API密钥检查期间使用的数据库查询将调用者提供的密钥值混合到查询文本中而非作为单独参数传递,可能导致未经身份验证的攻击者发送特制授权标头到任何LLM API路由,通过代理的错误处理路径读取数据库数据并可能修改数据,导致未经授权访问代理及其管理的凭据。

AI Predicted 9.8 Difficulty: Easy KEV EPSS 5.77% · P93

Public Exploits 2

Affected Version Matrix 1

VendorProduct Version RangeStatus
BerriAI litellm >= 1.81.16, < 1.83.7 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-42208

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
LiteLLM: SQL injection in Proxy API key verification
Source: CVE Program / CVE List V5
Vulnerability Description
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.81.16 to before version 1.83.7, a database query used during proxy API key checks mixed the caller-supplied key value into the query text instead of passing it as a separate parameter. An unauthenticated attacker could send a specially crafted Authorization header to any LLM API route (for example POST /chat/completions) and reach this query through the proxy's error-handling path. An attacker could read data from the proxy's database and may be able to modify it, leading to unauthorised access to the proxy and the credentials it manages. This issue has been patched in version 1.83.7.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
LiteLLM SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LiteLLM是Berri AI开源的一个应用程序。可以使用 OpenAI 格式调用所有 LLM API。 LiteLLM 1.81.16版本至1.83.7之前版本存在SQL注入漏洞,该漏洞源于代理API密钥检查期间使用的数据库查询将调用者提供的密钥值混合到查询文本中而非作为单独参数传递,可能导致未经身份验证的攻击者发送特制授权标头到任何LLM API路由,通过代理的错误处理路径读取数据库数据并可能修改数据,导致未经授权访问代理及其管理的凭据。
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.81.16, < 1.83.7 -

II. Public POCs for CVE-2026-42208

# POC Description Source Link Shenlong Link
1 LiteLLM 1.81.16 to < 1.83.7 contains a SQL injection caused by improper handling of caller-supplied key in database query during proxy API key checks, letting unauthenticated attackers read and modify database data, exploit requires crafted Authorization header. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42208.yaml POC Details
AI-Generated POC Premium
default-local-qwen3.6 · 13363 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-42208

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

Vendor Advisories for CVE-2026-42208 (1)

Vendor Pages for CVE-2026-42208 (1)

Same Patch Batch · BerriAI · 2026-05-08 · 3 CVEs total

CVE-2026-42203 LiteLLM: Server-Side Template Injection in /prompts/test endpoint
CVE-2026-42271 LiteLLM: Authenticated command execution via MCP stdio test endpoints

IV. Related Vulnerabilities

V. Comments for CVE-2026-42208

No comments yet


Leave a comment