CVE-2026-18540
undici vulnerable to downstream response splitting via retry interceptor
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.309% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 3.7 · published by openjsCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Assessment source · checked 2026-11-19T12:58:10.494Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:10.494Z | CVE Program |
| epss | verified | 2026-11-19T16:04:47.342Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:31.685Z | OSV |
| affected | verified | 2026-11-19T12:58:10.494Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:10.494Z | CVE Program |
Affected versions and configuration
undici undici; default status: unaffected: 0 to < 6.28.1 [affected; scheme: semver]; 6.28.1 [unaffected; scheme: semver]; 7.0.0 to < 7.29.1 [affected; scheme: semver]; 7.29.1 [unaffected; scheme: semver]; 8.0.0 to < 8.10.2 [affected; scheme: semver]; 8.10.2 [unaffected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "undici",
"product": "undici",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "6.28.1",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.28.1",
"versionType": "semver"
},
{
"status": "affected",
"version": "7.0.0",
"lessThan": "7.29.1",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "7.29.1",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.0.0",
"lessThan": "8.10.2",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "8.10.2",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/undici",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-18540",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-04T17:50:05.851866Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-09-04T17:50:13.682Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-r53p-7pc4-xj5r",
"aliases": [
"CVE-2026-18540"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.28.1"
}
]
}
],
"package": {
"name": "undici",
"purl": "pkg:npm/undici",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-r53p-7pc4-xj5r/GHSA-r53p-7pc4-xj5r.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.29.1"
}
]
}
],
"package": {
"name": "undici",
"purl": "pkg:npm/undici",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-r53p-7pc4-xj5r/GHSA-r53p-7pc4-xj5r.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.10.2"
}
]
}
],
"package": {
"name": "undici",
"purl": "pkg:npm/undici",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-r53p-7pc4-xj5r/GHSA-r53p-7pc4-xj5r.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/nodejs/undici/security/advisories/GHSA-r53p-7pc4-xj5r",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-18540",
"type": "ADVISORY"
},
{
"url": "https://github.com/nodejs/undici/commit/0160a719063fb0a77f4fdf9500b9166b91e14329",
"type": "WEB"
},
{
"url": "https://github.com/nodejs/undici/commit/cd8af90b38ae33c2838d54a2d629774122effe95",
"type": "WEB"
},
{
"url": "https://github.com/nodejs/undici/commit/ce31bc824b578008faae5d3350da66c1b5f71548",
"type": "WEB"
},
{
"url": "https://hackerone.com/reports/3900104",
"type": "WEB"
},
{
"url": "https://hackerone.com/reports/3900615",
"type": "WEB"
},
{
"url": "https://cna.openjsf.org/security-advisories.html",
"type": "WEB"
},
{
"url": "https://github.com/nodejs/undici",
"type": "PACKAGE"
},
{
"url": "https://github.com/nodejs/undici/releases/tag/v6.28.1",
"type": "WEB"
},
{
"url": "https://github.com/nodejs/undici/releases/tag/v7.29.1",
"type": "WEB"
},
{
"url": "https://github.com/nodejs/undici/releases/tag/v8.10.2",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-444"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": "2026-09-04T18:17:50Z",
"github_reviewed_at": "2026-09-29T18:22:07Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | undici | Not a distribution channel | 6.28.1 | Official record |
| ecosystem-boundary | npm / package | undici | Not a distribution channel | 7.29.1 | Official record |
| ecosystem-boundary | npm / package | undici | Not a distribution channel | 8.10.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:31.685ZArchived source JSON
Source publication: 2026-09-29T18:22:07.000Z
Source modification: 2026-09-29T18:30:41.154ZDocument fingerprint
5d6d75d792b516aad9918564f2547ee8b9e8538569dc2e4ae0c28391e44547c6 - CVE ProgramConsulted: 2026-11-19T12:58:10.494ZArchived source JSON
Source publication: 2026-09-04T17:15:50.619Z
Source modification: 2026-09-04T17:50:13.682ZDocument fingerprint
4b3ea36cd22911d5b22bd18a8cebc0eb39b44a6032dd24164f43dc587fdcd2cd - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:47.342ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
003916460c2793c49861244c6d747c5f7b21d769f81d58483e4fe03eb7a3f759
Official status history
- UNKNOWN → PUBLISHED · · evidence