# Attackers scan for chained LiteLLM/Starlette RCE

Published: 2026-11-16 · Severity: high · Sectors: Technology
Canonical: https://vorant.io/reports/27f2c1c9-5ef2-5df7-a813-2210f64ae349/attackers-scan-for-chained-litellm-starlette-rce
Vorant's rating weighs the evidence in the report: confirmed exploitation, victims claimed, CVSS and EPSS, and how many sources agree. It rates the report, not your assets.

> SANS ISC observed honeypot scans exploiting CVE-2026-42271 (Starlette BadHost) chained with CVE-2026-48710 for unauthenticated RCE in LiteLLM.

Source: isc.sans.edu — https://isc.sans.edu/diary/rss/33522

## What to check

- Applies to: The 2 CVEs named below. Whether you run an affected version is not assessed: check the versions the source lists.
- Exploitation: CISA lists CVE-2026-42271 and CVE-2026-48710 as exploited in the wild.

SANS Internet Storm Center reported honeypot traffic targeting the /mcp-rest/test/tools/list endpoint, attempting to exploit a chain of two vulnerabilities: CVE-2026-42271, a Host-header validation flaw in Starlette (dubbed 'BadHost') affecting versions prior to 1.0.1, and CVE-2026-48710, a flaw in LiteLLM that relies on Starlette for access control. Because Starlette fails to validate the Host header before using it to construct URLs for access-control decisions, attackers can craft malicious Host headers (using characters such as '/', '?', '#', and '[') to bypass authentication checks and reach the normally-protected tools/list endpoint. Observed requests sent a JSON payload specifying a 'stdio' transport with an arbitrary command (e.g. 'id'), achieving unauthenticated remote code execution.

Horizon3.ai published the original technical write-up detailing how the two CVEs can be chained for RCE. ISC's honeypot data shows attackers are actively modifying Host header payloads (e.g., 'localhost]', '[localhost', '127.0.0.1]', 'litellm.proxy') to evade filters built around the original published PoC, indicating ongoing adaptation of exploit attempts rather than a new campaign. The analyst notes exploitation of this vulnerability class was first reported as far back as July, underscoring that attackers continue to iterate on known bugs to bypass WAF signatures.

Defenders running LiteLLM or any service built on Starlette prior to 1.0.1 should upgrade immediately. WAF and filtering rules should validate Host headers against an allow-list of expected hostnames rather than blocking specific known-bad characters or PoC signatures, since attackers are already evading naive filters. Developers are advised to validate individual data components (like hostnames) before assembling them into composite structures such as URLs, and to minimize externally-exposed attack surface as a general mitigation while patches are applied.

## Mentioned in this report

- Vulnerabilities: CVE-2026-42271 (KEV), CVE-2026-48710 (KEV)

## Detection guidance (public sample)

### LiteLLM MCP REST tools/list Endpoint Request

ATT&CK: T1190

A behavioural hunt for the technique in general, not a signature for the CVEs this report names. Needs webserver logs. Status: experimental. Generated from the report; not run against telemetry.

Web request to the LiteLLM /mcp-rest/test/tools/list endpoint, the target of the chained Starlette 'BadHost' and LiteLLM auth-bypass RCE. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

```yaml
title: LiteLLM MCP REST tools/list Endpoint Request
description: Detects requests to the LiteLLM MCP test endpoint /mcp-rest/test/tools/list,
  which is the target of the CVE-2026-42271 / CVE-2026-48710 chained auth-bypass to
  RCE. The endpoint is normally reachable only by authenticated administrators, so
  external or unexpected requests deserve review. Check the response status and whether
  the request originated from an expected admin source.
tags:
- attack.initial-access
- attack.t1190
logsource:
  category: webserver
detection:
  selection:
    cs-uri-stem|endswith: /mcp-rest/test/tools/list
  condition: selection
falsepositives:
- Administrators legitimately testing MCP tool configuration through the LiteLLM UI
- Internal vulnerability scanners or QA tests against LiteLLM
level: medium
id: 423a9e73-9018-5501-a39b-48c10403d373
status: experimental
author: Vorant
references:
- https://isc.sans.edu/diary/rss/33522
```

### Malformed Host Header with Path or Bracket Characters in Web Request

ATT&CK: T1190

A behavioural hunt for the technique in general, not a signature for the CVEs this report names. Needs webserver logs. Status: experimental. Generated from the report; not run against telemetry.

Host header containing '/', '?', '#' or unbalanced IPv6-style brackets, used in the Starlette BadHost access-control bypass. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

```yaml
title: Malformed Host Header with Path or Bracket Characters in Web Request
description: Detects HTTP requests whose Host header contains URL-delimiter characters
  (/, ?,
tags:
- attack.initial-access
- attack.t1190
logsource:
  category: webserver
detection:
  selection:
    cs-host|re:
    - '[/?#]'
    - ^\[[^\]]*[g-zG-Z]
    - ^[^\[]+\]
  condition: selection
falsepositives:
- Broken or misconfigured HTTP clients and scanners sending malformed Host headers
- Reverse proxies that log a rewritten Host value containing a path
level: medium
id: 3d37961b-1c16-5b76-8532-160e76fffc3a
status: experimental
author: Vorant
references:
- https://isc.sans.edu/diary/rss/33522
```

### LiteLLM Proxy Process Spawning Reconnaissance Command

ATT&CK: T1190

A behavioural hunt for the technique in general, not a signature for the CVEs this report names. Needs linux process_creation logs. Status: experimental. Generated from the report; not run against telemetry.

A Python process running LiteLLM spawns id/whoami/uname-style commands, consistent with stdio-transport RCE via the MCP test endpoint. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

```yaml
title: LiteLLM Proxy Process Spawning Reconnaissance Command
description: Detects a Python process running LiteLLM spawning basic reconnaissance
  binaries such as id or whoami. The chained BadHost and LiteLLM flaw lets an unauthenticated
  attacker submit a stdio MCP transport with an arbitrary command (e.g. 'id'), which
  the proxy then executes as a child process.
tags:
- attack.initial-access
- attack.t1190
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentImage|contains: python
    ParentCommandLine|contains: litellm
  selection_child:
    Image|endswith:
    - /id
    - /whoami
    - /uname
    - /hostname
  condition: selection_parent and selection_child
falsepositives:
- LiteLLM-hosted MCP servers or custom tools that intentionally run id or hostname
  as part of their function
level: high
id: da3e2ab7-869f-533a-bb62-904cfcf09902
status: experimental
author: Vorant
references:
- https://isc.sans.edu/diary/rss/33522
```

Behavioural rules are generated from public reporting — validate in your environment before deploying.

Source reporting: https://isc.sans.edu/diary/rss/33522

---

This is the free public brief from Vorant Threat Intelligence. When citing, attribute "Vorant" and link https://vorant.io/reports/27f2c1c9-5ef2-5df7-a813-2210f64ae349/attackers-scan-for-chained-litellm-starlette-rce.
In the app the same report carries its Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and Microsoft KQL where they apply) and live profiles of the CVEs it names. A free account in the app opens every report of the last 30 days, the security research and news included; the paid plans add the archive, what to hunt, the investigations and the rules as SIEM queries. Slack alerts on the vendors, sectors and countries a reader follows come with the paid plans too. A new account starts with a five-day trial, no card: https://vorant.io/signup
