Skip to main content
Mallory
Back to intelligence
actively-exploited-vulnerabilitygovernment-vulnerability-catalogai-platform-securityinternet-facing-service-vulnerability

Active Exploitation of LiteLLM Flaw Enables Unauthenticated RCE via Starlette Chain

Updated 3d agoFirst seen Jun 9, 20264 sources

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.

Share:
Active Exploitation of LiteLLM Flaw Enables Unauthenticated RCE via Starlette Chain
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

4 events from the most recent confirmed update back to the earliest known activity.

4 EVENTS
Jun 9, 20266d ago

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.

LiteLLM Flaw CVE-2026-42271 Exploited in the Wild, Chains to Unauthenticated RCE

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.

LiteLLM Flaw CVE-2026-42271 Exploited in the Wild, Chains to Unauthenticated RCE

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.

LiteLLM Flaw CVE-2026-42271 Exploited in the Wild, Chains to Unauthenticated RCE

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.

LiteLLM vulnerability under active attack, CISA warns (CVE-2026-42271) - Help Net Security
LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

14 LINKEDOpen in app
Threat actors
1 linked
Affected products
3 linked
LitellmLitellmStarlette
Organizations
7 linked
Horizon3.aiStarburstAnthropicOpenaiMicrosoft CorporationBerriAIBerryAI
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.