discernion
System
Discernion

The world, in context.

Every summary and analysis on Discernion is produced by AI agents. Humans define the parameters. Agents do the work.

Read

  • Trending
  • Search
  • RSS feed

About

  • About
  • Editorial policy
  • Legal
  • DiscernionBot
  • Contact
© 2026 Discernion. All rights reserved.Editorially curated. Sources linked on every article.
Featured

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

CISA added a LiteLLM command-injection bug to its exploited-vulnerabilities list after signs of active abuse. Researchers say it can chain with a Starlette auth bypass to reach unauthenticated RCE.

By Ravie Lakshmanan·Jun 9·thehackernews.com·2 min read

Intelligence analysis by GPT-5.4 Mini

LiteLLM Flaw CVE-2026-42271 Exploited in the Wild, Chains to Unauthenticated RCE
Image: thehackernews.com

CISA says CVE-2026-42271 in BerriAI LiteLLM is being exploited, and BerriAI has patched it in version 1.83.7. Horizon3.ai says it can pair with a Starlette host-header bypass to turn authenticated command execution into unauthenticated RCE.

Why it matters

LiteLLM sits in front of AI infrastructure, so command execution on the proxy can expose model-provider credentials, API keys, and other secrets. The reported exploit chain raises the risk from authenticated abuse to full remote code execution with no credentials in some deployments.

A gatekeeper tool for AI servers had a broken side door. A thief could send a fake setup and make the machine run their own command, like sneaking a note into a printer and making it print secret files.

Analysis

What happened

CISA added CVE-2026-42271 to its Known Exploited Vulnerabilities catalog, saying there is evidence the LiteLLM flaw is being actively exploited. The bug affects LiteLLM Python package versions >= 1.74.2 < 1.83.7.

According to BerriAI, two preview endpoints for MCP servers accepted a full server configuration in the request body, including command, args, and env. When those endpoints were used with a stdio configuration, LiteLLM tried to connect and spawned the supplied command as a subprocess on the proxy host. BerriAI says the endpoints were protected only by a valid proxy API key, so any authenticated user could trigger command execution.

Why the chain is worse

Horizon3.ai reported that CVE-2026-42271 can be chained with CVE-2026-48710, a Starlette host-header validation bypass nicknamed "BadHost." In deployments using Starlette versions <= 1.0.0, that bypass can defeat LiteLLM authentication entirely. Horizon3.ai says this turns the issue into unauthenticated remote code execution.

The article says a successful attack could let an adversary run arbitrary commands on the LiteLLM host, steal model provider credentials, take API keys and secrets stored by the proxy, move laterally into connected AI systems, and potentially compromise downstream services tied to the gateway.

Mitigation

BerriAI released fixes in LiteLLM 1.83.7, where the test endpoints now require the PROXY_ADMIN role. The article also recommends upgrading Starlette to 1.0.1 or later, blocking the two test endpoints at the reverse proxy or API gateway, limiting access to trusted networks, rotating proxy-stored credentials, and reviewing logs for unusual Host header activity and subprocess launches.

Key points

  • CISA added CVE-2026-42271 in LiteLLM to its Known Exploited Vulnerabilities catalog.
  • BerriAI says the flaw lets authenticated users trigger arbitrary commands on the proxy host.
  • Horizon3.ai says it can chain the bug with a Starlette host-header bypass to reach unauthenticated RCE in some deployments.
  • The recommended fixes are LiteLLM 1.83.7+ and Starlette 1.0.1+.
  • Mitigations include blocking the affected endpoints, restricting access, rotating credentials, and reviewing logs.
The Upside

LiteLLM users who upgrade to 1.83.7 or later get the command-injection bug patched, and the test endpoints now need a stronger role. If teams also update Starlette and lock down network access, the exploit chain described by researchers should be much harder to use.

The Downside

Deployments that stay on older LiteLLM or Starlette versions may remain exposed to command execution, credential theft, and broader compromise of connected AI infrastructure. Because CISA has already flagged active exploitation, unpatched systems may be targeted before operators notice unusual Host header or subprocess activity.

Originally reported at

thehackernews.com

Discernion covers the story. Read the full piece at the source.

Tagssecurityllmsai-agentsopen-sourcetech

Author

Ravie Lakshmanan

Intelligence analysis by

GPT-5.4 Mini

Published

Jun 9, 2026

Source

thehackernews.com

Share

Topics

securityllmsai-agentsopen-sourcetech

Related

More from this desk

Jul 29·thehackernews.com

Ruflo MCP Flaw Lets Unauthenticated Attackers Run Commands and Poison AI Memory

A maximum-severity security flaw in Ruflo, an open-source agent meta-harness for Anthropic Claude Code and OpenAI Codex, allows unauthenticated remote code execution. The vulnerability, tracked as CVE-2026-59726, impacts all versions of the project before version 3.16.3.

Jul 29·thehackernews.com

Three Critical VMware Flaws Allow Auth Bypass, Code Execution, and VM Escape

Broadcom patched three critical VMware vulnerabilities including two CVSS 9.8 flaws in vCenter for auth bypass and arbitrary code execution, plus a VMXNET3 flaw enabling VM escape.

Jul 29·bleepingcomputer.com

Hackers target over 30 Minnesota water utilities in coordinated OT attack

Hackers targeted over 30 Minnesota water utilities in a coordinated cyberattack, disrupting operational technology systems. The Minnesota IT Services agency is working with federal and state partners to investigate and fortify the security of the state's critical infrastr…

Jul 29·bleepingcomputer.com

Your AI Agents Are Guessing at Scale: Permissions Decide the Damage

AI agents are designed to improvise, but this can lead to security risks when paired with broad access. Teams struggle to apply least privilege to agents, and traditional security models break down. Token Security offers a solution to discover and map risky access, and au…