Skip to content
MediumNewsLLM-specific

Hackers are exploiting a critical LiteLLM pre-auth SQLi flaw

Published
Record updated
View JSON

Summary

Attackers are actively exploiting CVE-2026-42208, a critical pre-authentication SQL injection flaw in the proxy API key verification step of the LiteLLM LLM gateway. Sysdig observed targeted requests to '/chat/completions' with a malicious 'Authorization: Bearer' header that queried tables holding API keys, provider credentials and configs, beginning about 36 hours after public disclosure on April 24. The flaw can be used to read and modify the proxy's database, exposing the credentials it manages.

Mitigation

Fixed in LiteLLM version 1.83.7, which replaces string concatenation with parameterized queries. Researchers advise treating exposed vulnerable instances as potentially compromised and rotating every virtual API key, master key and provider credential stored in them. If upgrading is not possible, maintainers suggest setting 'disable_error_logs: true' under 'general_settings'.