Cloudanix VulnDB

CVE-2026-18540

Low · 3.7

CVSS

3.7

EPSS

0.3%

Published

Sep 4, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in a web request handling library used by certain Red Hat software can let a malicious server cause web responses to be mixed up, allowing an attacker to interfere with how other systems read those responses.

Chainable
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Data Tampering
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

undici retry interceptor appends body bytes from a ranged retry response to prior partial response data while retaining the original status and headers, producing a body longer than the observed Content-Length when an upstream delivers partial non-success or unusable partial-content responses before closing the connection.

Why it matters to the business

Applications built on affected Red Hat Node.js and Grafana packages risk HTTP response desynchronization or splitting when relaying responses, potentially enabling downstream attacks; low exploit maturity and EPSS with no KEV or ransomware use reduce immediate urgency but prevalence across ecosystem packages warrants prompt patching within 52 days of disclosure.

How an attack unfolds

An attacker who controls an upstream HTTP server sends a partial non-success or partial-content response without a valid resume checkpoint, closes the connection, then answers the resumed range request with additional bytes; undici's retry logic concatenates the extra bytes to the already-delivered body while preserving original headers, and any application forwarding the response over an HTTP/1.1 framing-sensitive path emits excess bytes that a downstream peer may interpret as the start of the next response.

How to fix it

Upgrade undici to 6.28.1, 7.29.1 or 8.10.2; for Red Hat packages apply grafana12-4-main to 12.4.10-0.2.hum1, nodejs24-main to 11.19.0-1.24.21.0.1.hum1 and nodejs26-main to 26.8.2-0.1.hum1 via the referenced RHSA-2026:66008 advisories.

How to confirm the fix worked

Verify installed undici or Red Hat package versions match or exceed the fixed releases listed above; test retry behavior with a controlled upstream that returns partial non-success responses and confirm response bodies match declared Content-Length values.

Typical attack path

  1. Attacker deploys a malicious upstream server capable of delivering partial responses and closing connections
  2. Victim application issues an HTTP request through undici with retry interceptor enabled
  3. Upstream returns a non-success or partial-content response whose headers were already sent then drops the connection
  4. undici retries the range request and appends the new bytes to the previously delivered body without updating length metadata
  5. Application relays the malformed response to a downstream HTTP/1.1 peer without re-framing
  6. Excess bytes are interpreted as the beginning of a subsequent response enabling desynchronization

How to detect it

Inspect application and undici logs for repeated retry attempts triggered by connection closures on non-success or partial-content responses; correlate outbound requests with response bodies whose delivered length exceeds the Content-Length header when forwarding is active.

What your security team should do

  • Apply the listed package upgrades on all affected Red Hat systems within the next maintenance window
  • Review any custom code that forwards undici responses over HTTP/1.1 without length normalization
  • Monitor EPSS trend and upstream undici releases for changes in exploit maturity
  • Add dependency scanning rules to block future undici versions below the fixed releases

The record

undici's retry interceptor can append the body of a ranged retry response to bytes already delivered from an earlier partial response while still presenting the original response's status and headers. This happens when an upstream server delivers part of a body without a trustworthy resume checkpoint, for example a non-success response whose headers were already sent or a partial-content response with an unusable content range, then closes the connection and answers the resumed range request with more bytes. As a result the response body can be longer than the Content-Length that the application observes. An application that relays such a response to a downstream HTTP/1.1 peer without normalizing the framing can emit a body that exceeds the forwarded Content-Length, and the excess bytes can be interpreted as the start of a following response, which enables downstream response splitting or desynchronization. Exploitation requires an attacker-controlled upstream server and an application that forwards the response through a framing-sensitive path. This affects undici versions before 6.28.1, from 7.0.0 up to 7.29.1, and from 8.0.0 up to 8.10.2. Users should upgrade to undici 6.28.1, 7.29.1, or 8.10.2.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities