{"identifier":"CVE-2026-139839","cve":{"id":"CVE-2026-139839","description":"undici is an HTTP client for Node.js. In versions 7.17.0 through 7.30.3 and 8.0.0 through 8.14.0, when a shared cache interceptor serves a stale entry inside its stale-while-revalidate window and revalidates it in the background, a 304 Not Modified response that adds a Vary field the stored response did not have is not treated as a change of representation. undici re-stores the old, unvaried body under the background caller's value of that header and marks it fresh, so later callers with that header value are served a body generated for a different request, possibly for another user or tenant, without the origin being contacted. Applications are affected only when they use a shared cache, the origin first returns a cacheable response without Vary and with stale-while-revalidate, and a later background 304 introduces Vary. This results in cross-user disclosure of cached responses. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, use a private cache, disable stale-while-revalidate reuse for per-user resources, or make sure the origin sends the final Vary on the initial response.","published":"2026-12-05T10:17:33.270000+00:00","modified":"2026-12-05T10:17:33.410000+00:00","status":"Awaiting Analysis","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","cvss_version":"3.1","affected":[],"weaknesses":["CWE-200","CWE-524"],"references":[{"url":"https://cna.openjsf.org/security-advisories.html","source":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-hx5c-5pjj-2548","source":"ce714d77-add3-4f53-aff5-83d477b104bb"}],"kev":null,"kev_checked":true,"metrics":{"cvssMetricV31":[{"source":"ce714d77-add3-4f53-aff5-83d477b104bb","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":3.6}]},"configurations":[],"source":"nvd","retrieved_at":"2026-12-05T13:13:53.911002+00:00","exploited":false,"kev_stale":false,"products":[],"priority":{"label":"Assess exposure and vendor guidance","reasons":["No higher-priority signal is available in the current stored evidence.","Fresh EPSS data is unavailable; missing values are not zero."]},"epss":null,"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"cna.openjsf.org","source_url":"https://cna.openjsf.org/security-advisories.html","investigate_url":"https://investigate.aeglixmind.com/#cna.openjsf.org"},{"domain":"github.com","source_url":"https://github.com/nodejs/undici/security/advisories/GHSA-hx5c-5pjj-2548","investigate_url":"https://investigate.aeglixmind.com/#github.com"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-139839","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-139839","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-139839","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}