{"id":"CVE-2026-120474","state":"PUBLISHED","title":"undici vulnerable to cross-user cache disclosure via same-origin redirect","description":"undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.1 and 8.0.0 through 8.12.3, when the redirect interceptor and a shared response cache are used together, an authenticated request that is redirected to a same-origin target has the final response stored under the original request's cache key. That key omits the credential and carries no Vary header, so a later anonymous or different user can be served the first user's private response body. This results in cross-user disclosure of cached private responses. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later.","publishedAt":"2026-11-06T09:57:46.664Z","updatedAt":"2026-11-10T17:46:05.157Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","source":"openjs"},"assigner":"openjs","products":["undici undici"],"affected":[{"vendor":"undici","product":"undici","packageURL":"pkg:npm/undici","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"7.30.2","versionType":"semver"},{"version":"7.30.2","status":"unaffected","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.12.4","versionType":"semver"},{"version":"8.12.4","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/nodejs/undici/security/advisories/GHSA-7xg3-fphp-28hg","https://cna.openjsf.org/security-advisories.html"],"weaknesses":["CWE-524","CWE-639"],"ingestedAt":"2026-11-10T18:18:06.757Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120474.json","commit":"a9d8632bd0a51df6877bf3c53d17f3a290cdf94b","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120474","state":"PUBLISHED","datePublished":"2026-11-06T09:57:46.664Z","dateUpdated":"2026-11-10T17:46:05.157Z","assignerShortName":"openjs","assignerOrgId":"ce714d77-add3-4f53-aff5-83d477b104bb","dateReserved":"2026-11-02T13:47:10.769Z"},"containers":{"cna":{"title":"undici vulnerable to cross-user cache disclosure via same-origin redirect","descriptions":[{"lang":"en","value":"undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.1 and 8.0.0 through 8.12.3, when the redirect interceptor and a shared response cache are used together, an authenticated request that is redirected to a same-origin target has the final response stored under the original request's cache key. That key omits the credential and carries no Vary header, so a later anonymous or different user can be served the first user's private response body. This results in cross-user disclosure of cached private responses. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later."}],"affected":[{"vendor":"undici","product":"undici","packageURL":"pkg:npm/undici","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"7.30.2","versionType":"semver"},{"version":"7.30.2","status":"unaffected","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.12.4","versionType":"semver"},{"version":"8.12.4","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-7xg3-fphp-28hg"},{"url":"https://cna.openjsf.org/security-advisories.html"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","baseScore":6.5,"baseSeverity":"MEDIUM"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-524","lang":"en","description":"CWE-524: Use of Cache Containing Sensitive Information","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"CWE-639: Authorization Bypass Through User-Controlled Key","type":"CWE"}]}],"providerMetadata":{"shortName":"openjs","orgId":"ce714d77-add3-4f53-aff5-83d477b104bb","dateUpdated":"2026-11-06T09:57:46.664Z"},"credits":[{"lang":"en","type":"reporter","value":"manus-use"},{"lang":"en","type":"remediation developer","value":"mcollina"},{"lang":"en","type":"remediation developer","value":"UlisesGascon"},{"lang":"en","type":"finder","value":"AliAAlMousa"}],"x_generator":{"engine":"cve-kit 1.0.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-10T17:45:36.174318Z","id":"CVE-2026-120474","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-10T17:46:05.157Z"}}]}}}