Vulnerability GHSA-r75f-5x8p-qvmc

Critical
CRITICAL RISK
CVSS Score: 9.8
Score Range: 9.0–10.0
Critical severity vulnerabilities (CVSS 9.0–10.0). These represent the highest impact issues.
5 months ago
April 24, 2026 at 04:17 PM UTC
LiteLLM has SQL Injection in Proxy API key verification
1.81.16 - 1.83.6
1.81.16 - 1.83.6

Summary

LiteLLM has SQL Injection in Proxy API key verification

Details

Impact

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.

Patches

Fixed in 1.83.7. The caller-supplied value is now always passed to the database as a separate parameter. Upgrade to 1.83.7 or later.

Workarounds

If upgrading is not immediately possible, set disable_error_logs: true under general_settings. This removes the path through which unauthenticated input reaches the vulnerable query.

References

Discovery Credit: Tencent YunDing Security Lab

Impacted packages

Timeline

Published
5 months ago
April 24, 2026 at 04:17 PM UTC
Fixed (1.83.7)
5 months ago
April 13, 2026 at 05:34 PM UTC
Last Modified
6 hours ago
October 05, 2026 at 06:45 PM UTC