Skip to content
CVE-2026-70188 Microsoft Sentinel · KQL

Detect ASP.NET Core Request Smuggling Security Feature Bypass (CVE-2026-70188) in Microsoft Sentinel

Detects exploitation attempts and vulnerable-asset exposure for CVE-2026-70188, an HTTP request/response smuggling security feature bypass (CWE-444, inconsistent interpretation of HTTP requests) in the ASP.NET Core runtime (Microsoft.AspNetCore.App.Runtime). Kestrel accepts newline characters in HTTP/2 request trailers and in values retrieved from the dynamic HPACK table instead of treating them as malformed. This can let an attacker smuggle a request past front-end security controls (WAF, auth proxies) and bypass security features. CVSS 9.1. Affected: 8.0.0-8.0.31, 9.0.0-9.0.20, 10.0.0-10.0.12, and 11.0.0-preview.1-11.0.0-rc.1. Patched in 8.0.32, 9.0.21, 10.0.13, and 11.0.0-rc.2. The sources cite no public proof-of-concept. This detection surfaces suspicious HTTP framing in proxy/WAF/IIS logs and identifies hosts running vulnerable runtime builds.

MITRE ATT&CK

Tactic
Initial Access Stealth

KQL Detection Query

Microsoft Sentinel (KQL)
kusto
// df00tech DF00-c082e3d6f3 · https://df00tech.com/detections/CVE-2026-70188 · licence: https://df00tech.com/detections/licence
// HTTP request smuggling framing anomalies against ASP.NET Core (CVE-2026-70188)
// Front-end/WAF/proxy logs normalized into a custom table; adjust column names to your source.
let SmugglingSignals = dynamic(["transfer-encoding", "content-length", "chunked"]);
W3CIISLog
| where csUriStem != ""
| extend reqHeaders = tostring(column_ifexists("csHeaders", ""))
| where (reqHeaders has "Transfer-Encoding" and reqHeaders has "Content-Length")
    or (reqHeaders has "Transfer-Encoding" and reqHeaders matches regex @"(?i)transfer-encoding\s*:\s*[^\r\n]*[\t ,]")
    or reqHeaders matches regex @"(?i)content-length\s*:\s*[^\r\n]*,[^\r\n]*"
| extend DualFraming = reqHeaders has "Transfer-Encoding" and reqHeaders has "Content-Length"
| project TimeGenerated, cIP, sComputerName=Computer, csMethod, csUriStem, scStatus, reqHeaders, DualFraming
| sort by TimeGenerated desc
high severity medium confidence

Flags inbound HTTP requests to ASP.NET Core / IIS hosts that carry conflicting or duplicated framing headers (both Transfer-Encoding and Content-Length, or comma-injected duplicate values), a framing anomaly associated with the CVE-2026-70188 request-smuggling bypass.

Data Sources

IIS W3C logsReverse proxy / WAF request logs

Required Tables

W3CIISLog

False Positives & Tuning

  • Legitimate clients or SDKs that erroneously emit both Content-Length and Transfer-Encoding on the same request
  • Load-testing or synthetic-monitoring tools that craft non-standard framing
  • API gateways that append Transfer-Encoding during request rewriting without smuggling intent

Other platforms for CVE-2026-70188


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Dual Content-Length / Transfer-Encoding request (CL.TE)

    Expected signal: Proxy/IIS/Kestrel log entry recording a request with both Content-Length and Transfer-Encoding headers.

  2. Test 2 Comma-injected duplicate Content-Length

    Expected signal: Log line showing a Content-Length header with a comma-injected duplicate value.

  3. Test 3 Non-canonical Transfer-Encoding value (TE obfuscation)

    Expected signal: Request log showing a non-canonical Transfer-Encoding value alongside Content-Length.


Response Playbook

Triage

  1. Confirm the destination host runs an affected ASP.NET Core runtime build (Microsoft.AspNetCore.App.Runtime 8.0.0-8.0.31, 9.0.0-9.0.20, 10.0.0-10.0.12, or 11.0.0-preview.1-rc.1) by checking the deployed runtimeconfig.json / `dotnet --info` / installed shared framework version.
  2. Inspect the flagged request(s) raw headers for conflicting Content-Length and Transfer-Encoding, duplicated headers, or non-canonical Transfer-Encoding values that indicate a smuggling attempt rather than a benign malformed client.
  3. Correlate the suspect request with the immediately following request on the same connection/front-end to determine whether a smuggled second request bypassed WAF/auth and reached a privileged endpoint.

Containment

  1. Deploy or enable a front-end WAF rule / Kestrel configuration that rejects requests containing both Content-Length and Transfer-Encoding, and normalize/strip ambiguous framing at the edge.
  2. Prioritize upgrading the ASP.NET Core shared framework to a patched build (8.0.32, 9.0.21, 10.0.13, or 11.0.0-rc.2 or later) on affected hosts and restart the application.

Evidence Collection

  1. Preserve full raw HTTP request/response captures (proxy, WAF, and IIS/Kestrel logs) for the affected connection, including byte-level header framing.
  2. Capture the host's installed runtime inventory and application configuration (global.json, runtimeconfig.json, deployment manifests) to document the vulnerable version at time of incident.

Escalation Criteria

  • !Escalate to incident response if a smuggled request is confirmed to have reached an authenticated or administrative endpoint or returned data for a different client.
  • !Escalate if framing-anomaly requests originate from multiple external sources or show scripted/automated patterns against internet-facing ASP.NET Core applications.

Investigation Guide

Forensic Artifacts

  • >Raw IIS/Kestrel and reverse-proxy access logs showing conflicting framing headers
  • >Installed ASP.NET Core shared framework version and runtimeconfig.json on the affected host
  • >Connection-level packet captures correlating a front-end request with the back-end interpretation

Tuning Guidance

Start in medium/low confidence: dual framing headers also appear from buggy-but-benign clients. Tune by baselining normal sources, excluding internal health-check and load-test origins, and raising severity when the anomalous request is followed on the same connection by access to a sensitive endpoint or an unexpected status transition. Scope queries to hosts confirmed on vulnerable runtime builds to reduce noise.


Hunting Queries

Baseline how often dual-framing requests appear per source and host to separate smuggling probes from noisy benign clients.

Hunting — KQL
kql
// df00tech DF00-c082e3d6f3 · https://df00tech.com/detections/CVE-2026-70188 · licence: https://df00tech.com/detections/licence
W3CIISLog | extend h=tostring(column_ifexists("csHeaders","")) | where h has "Transfer-Encoding" and h has "Content-Length" | summarize count() by cIP, Computer
Hunting — SPL
spl
``` df00tech DF00-c082e3d6f3 · https://df00tech.com/detections/CVE-2026-70188 · licence: https://df00tech.com/detections/licence ```
index=web sourcetype=iis | where match(_raw,"(?i)transfer-encoding") AND match(_raw,"(?i)content-length") | stats count by src_ip, dest_host

Atomic Red Team Tests

Test 1 Dual Content-Length / Transfer-Encoding request (CL.TE)
linux

Send a raw HTTP/1.1 request containing both Content-Length and Transfer-Encoding headers to a lab ASP.NET Core endpoint to trigger framing-anomaly detection.

Command

bash
printf 'POST / HTTP/1.1\r\nHost: lab.local\r\nContent-Length: 6\r\nTransfer-Encoding: chunked\r\n\r\n0\r\n\r\nG' | nc 127.0.0.1 5000

Cleanup

bash
echo 'No persistent artifact; close connection'

Expected Telemetry

Proxy/IIS/Kestrel log entry recording a request with both Content-Length and Transfer-Encoding headers.

Expected Detection

KQL/SPL framing-anomaly query flags the request as dual-framing.

Test 2 Comma-injected duplicate Content-Length
linux

Send a request with a comma-separated duplicated Content-Length value to test malformed-framing detection.

Command

bash
printf 'GET / HTTP/1.1\r\nHost: lab.local\r\nContent-Length: 0,5\r\n\r\nhello' | nc 127.0.0.1 5000

Cleanup

bash
echo 'No cleanup required'

Expected Telemetry

Log line showing a Content-Length header with a comma-injected duplicate value.

Expected Detection

Comma-injection regex branch in the detection matches.

Test 3 Non-canonical Transfer-Encoding value (TE obfuscation)
windows

Send an obfuscated Transfer-Encoding header (e.g. 'chunked ' with trailing/space variants) to test TE-based smuggling detection on a lab host.

Command

powershell
powershell -c "$c=New-Object Net.Sockets.TcpClient('127.0.0.1',5000);$s=$c.GetStream();$b=[Text.Encoding]::ASCII.GetBytes(\"POST / HTTP/1.1`r`nHost: lab.local`r`nTransfer-Encoding: xchunked`r`nContent-Length: 4`r`n`r`n0`r`n`r`n\");$s.Write($b,0,$b.Length);$c.Close()"

Cleanup

powershell
echo done

Expected Telemetry

Request log showing a non-canonical Transfer-Encoding value alongside Content-Length.

Expected Detection

Transfer-Encoding anomaly branch and dual-framing branch both match.

Related Detections