2 Sources
[1]
Hackers are exploiting a critical LiteLLM pre-auth SQLi flaw
Hackers are targeting sensitive information stored in the LiteLLM open-source large-language model (LLM) gateway by exploiting a critical vulnerability tracked as CVE-2026-42208. The flaw is an SQL injection issue that occurs during LiteLLM's proxy API key verification step. An attacker can
[2]
LiteLLM CVE-2026-42208 SQL Injection Exploited within 36 Hours of Disclosure
In yet another instance of threat actors quickly jumping on the exploitation bandwagon, a newly disclosed critical security flaw in BerriAI's LiteLLM Python package has come under active exploitation in the wild within 36 hours of the bug becoming public knowledge. The vulnerability, tracked as
Share
Copy Link
A critical SQL injection vulnerability in BerriAI's LiteLLM open-source AI Gateway was exploited within 36 hours of public disclosure. CVE-2026-42208 allows unauthenticated attackers to access sensitive API keys, provider credentials, and configuration secrets stored in the proxy database. The targeted attacks demonstrate how rapidly threat actors can weaponize vulnerabilities in AI infrastructure.
Threat actors have begun exploiting CVE-2026-42208, a critical SQL injection vulnerability in BerriAI's LiteLLM, just 36 hours after the flaw became public knowledge on April 24, 2026
1
2
. The open-source AI Gateway, which has garnered 45,000 stars and 7,600 forks on GitHub, serves as a critical middleware layer enabling developers to interact with multiple large language models through a unified API1
. This vulnerability carries a CVSS score of 9.3 and allows unauthenticated attackers to read and modify the LiteLLM proxy database by sending specially crafted Authorization headers to any LLM API route2
.
Source: Hacker News
The flaw occurs during the proxy API key verification step, where LiteLLM mixed caller-supplied key values directly into query text instead of using parameterized queries
2
. An attacker can exploit this pre-auth weakness without authentication by targeting routes like POST /chat/completions with malicious Authorization: Bearer headers1
. The vulnerability affects versions >=1.81.16 and <1.83.7, with a fix delivered in version 1.83.7-stable released on April 19, 2026, that replaces string concatenation with parameterized queries1
2
. The severity stems from what LiteLLM stores: API keys and credentials for providers like OpenAI, Anthropic, and AWS Bedrock, along with virtual keys, master keys, and environment configuration secrets1
.Researchers at Sysdig observed the first exploitation attempt on April 26 at 16:17 UTC, originating from IP address 65.111.27[.]132
2
. The attacks unfolded in two deliberate phases, with threat actors demonstrating precise knowledge of the database structure. Security researcher Michael Clark noted that attackers went directly to tables containing sensitive data, specifically targeting "litellm_credentials.credential_values" and "litellm_config" while ignoring benign tables like "litellm_users" or "litellm_team"1
2
. In the second phase, occurring 20 minutes later, the attacker switched to IP address 65.111.25[.]67, likely for evasion purposes, and executed more precise payloads based on information gathered initially1
2
.Related Stories
The blast radius of successful vulnerability exploitation extends far beyond typical web application breaches. According to Sysdig, a single litellm_credentials row often contains an OpenAI organization key with five-figure monthly spend caps, an Anthropic console key with workspace admin rights, and AWS Bedrock IAM credentials
2
. This positions the attack closer to a cloud-account compromise than a standard SQL injection incident. The 36-hour window aligns with the broader pattern documented by the Zero Day Clock, showing that exploitation no longer requires public proof-of-concept code—the advisory and open-source schema provide sufficient information for skilled attackers2
. Adding to concerns, LiteLLM recently faced a supply-chain attack where TeamPCP hackers released malicious PyPI packages deploying infostealers to harvest credentials and secrets1
.Sysdig researchers warn that any internet-exposed LiteLLM instances running vulnerable versions should be treated as potentially compromised
1
. Organizations must immediately rotate credentials, including every virtual API key, master key, and provider credential stored in affected instances1
. The primary mitigation is to patch to LiteLLM version 1.83.7 or later1
. For environments where immediate patching isn't feasible, maintainers recommend setting 'disable_error_logs: true' under 'general_settings' as a workaround to block the path through which malicious inputs reach the vulnerable query1
2
. This incident underscores a troubling pattern in AI infrastructure: critical, pre-auth vulnerabilities in widely trusted software that centralizes cloud-grade credentials, making them high-value targets for sophisticated threat actors2
.Summarized by
Navi
[1]
24 Mar 2026•Technology

13 Aug 2026•Technology

26 Dec 2025•Technology

1
Science and Research

2
Policy and Regulation

3
Technology