A critical pre-authentication SQL injection vulnerability, identified as CVE-2026-42208, has been discovered in the popular LiteLLM gateway, allowing attackers to access databases without credentials.
Cybercriminals have already been observed exploiting this flaw to target high-value secrets such as API keys and provider credentials.
Overview of the Vulnerability
CVE-2026-42208 is a critical flaw in LiteLLM, an open-source proxy that connects applications to large language models such as those from OpenAI and Anthropic.
The vulnerability occurs because the system fails to parameterize the Authorization: Bearer header during authentication checks properly.
Consequently, any unauthenticated attacker reaching the LiteLLM proxy port can execute arbitrary SQL queries against the underlying database.
According to Sysdig, the security advisory was initially published to the LiteLLM repository on April 20, 2026, before being indexed in global databases.
Following this disclosure, malicious operators quickly developed custom payloads instead of relying on generic scanning tools.
The speed of this targeted response highlights the growing interest among attackers in compromising centralized AI infrastructure.
Exploitation and Attack Strategy
Threat researchers detected the first exploitation attempt just 36 hours after the vulnerability was publicly indexed.
Unlike automated SQL injection attacks, the observed exploitation was highly targeted and demonstrated prior knowledge of LiteLLM’s internal database structure.
Attackers systematically employed column-count enumeration to efficiently extract data while rotating their IP addresses to evade detection.
The vulnerability provides a direct pathway for threat actors to extract significant cloud-grade credentials.
When successful, this type of database extraction can lead to severe operational compromises, as AI gateways have become central hubs for high-cost services.
Administrators using affected versions must immediately update to LiteLLM version 1.83.7, which resolves the issue by implementing proper parameterized queries.
Any internet-facing instance running a vulnerable version should be considered compromised, requiring the immediate rotation of all exposed secrets.
Defenders should continuously monitor threat intelligence feeds, as relying solely on standard vulnerability catalogs can lead to critical delays.
Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.
.webp?w=356&resize=356,220&ssl=1)




