BreachSpiderVerified, not vibes

CVE-2026-18540 in Nodejs Undici

Low 3.7

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.13.7
EPSS0.3%
EPSS percentile16th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Nodejs Undici < 6.28.1 ≥ 7.0.0, < 7.29.1 ≥ 8.0.0, < 8.10.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-18540
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Published2026-09-04
Last modified2026-09-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-444: CWE-444

Related attack patterns (CAPEC)

CAPEC-33 HTTP Request Smuggling via CWE-444

CAPEC-273 HTTP Response Smuggling via CWE-444

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A low severity vulnerability (CVE-2026-18540) affects the target system. 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 par...

Questions

What is CVE-2026-18540?

A low severity vulnerability (CVE-2026-18540) affects the target system. 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 par...

What is the CVSS score for CVE-2026-18540?

CVE-2026-18540 has CVSS 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.3%.

Is CVE-2026-18540 actively exploited?

No confirmed active exploitation of CVE-2026-18540 as of 2026-10-06.

How do I remediate CVE-2026-18540?

Apply vendor patches for CVE-2026-18540. Monitor Nodejs advisories.

What systems are affected by CVE-2026-18540?

CVE-2026-18540 affects Nodejs Undici.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Nodejs","product":"Undici","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-16.