Active Exploitation of LiteLLM Flaw Enables Unauthenticated RCE via Starlette Chain
CISA added CVE-2026-42271 to its Known Exploited Vulnerabilities catalog after evidence emerged that attackers are exploiting a command injection flaw in BerriAI LiteLLM. The bug affects MCP server test endpoints in self-hosted LiteLLM deployments, where crafted stdio parameters can trigger arbitrary command execution on the proxy host. On its own, the flaw requires a valid proxy API key, but researchers reported it is being chained with CVE-2026-48710 in Starlette—a Host header validation bypass known as BadHost—to bypass authentication and achieve unauthenticated remote code execution.
The exposed attack path affects LiteLLM versions 1.74.2 through 1.83.6 when deployed with Starlette 1.0.0 or earlier, and researchers rated the combined chain as effectively critical with a CVSS score of 10.0. Successful compromise can let attackers run OS commands, steal model provider credentials, API keys, secrets, and environment variables, and pivot into connected AI infrastructure. BerriAI patched the issue in LiteLLM 1.83.7 by restricting the vulnerable test endpoints to the PROXY_ADMIN role, while defenders are being urged to upgrade LiteLLM and Starlette, limit network access to the affected endpoints, rotate stored credentials, and review logs for suspicious Host header and subprocess activity.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
4 events from the most recent confirmed update back to the earliest known activity.
CISA adds CVE-2026-42271 to the KEV catalog after active exploitation
CISA added CVE-2026-42271 to its Known Exploited Vulnerabilities catalog after observing evidence of exploitation in the wild. The vulnerability affects LiteLLM MCP server connection-testing endpoints and can lead to command execution on vulnerable proxy hosts.
Horizon3.ai reports LiteLLM-Starlette exploit chain enabling unauthenticated RCE
Horizon3.ai disclosed that CVE-2026-42271 in LiteLLM can be chained with CVE-2026-48710 in Starlette, dubbed "BadHost," to bypass authentication and achieve unauthenticated remote code execution. The company assessed the combined attack path as effectively critical, with exposure of API keys, credentials, and connected AI infrastructure.
BerriAI patches LiteLLM command injection flaw in version 1.83.7
BerriAI fixed CVE-2026-42271 in LiteLLM version 1.83.7 by restricting the vulnerable MCP server test endpoints to the PROXY_ADMIN role. The flaw allowed arbitrary command execution via attacker-supplied stdio parameters on the proxy host.
CISA orders federal agencies to remediate CVE-2026-42271 by June 22
After adding CVE-2026-42271 to the KEV catalog, CISA directed U.S. federal civilian agencies to remediate the LiteLLM command injection vulnerability by 2026-06-22. The order followed confirmation of active exploitation of the flaw.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
4 references tracked. Mallory keeps watching after this page renders.
CISA Warning: LiteLLM Flaw Could Expose Enterprise AI Gateways
techrepublic.com
Open sourceHackers Exploiting LiteLLM RCE Vulnerability in the Wild to Run Arbitrary Commands
cybersecuritynews.com
Open sourceLiteLLM Flaw CVE-2026-42271 Exploited in the Wild, Chains to Unauthenticated RCE
thehackernews.com
Open sourceLiteLLM vulnerability under active attack, CISA warns (CVE-2026-42271) - Help Net Security
helpnetsecurity.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


