CVE Professor
/
All CVEs
CVE-2026-139839

CVE-2026-139839 — CWE-200 · CWE-524

MEDIUM CVSS 5.9 NVD

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.

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.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity None I:N
Availability None A:N
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-139839
CVSS 5.9/10 · MEDIUM · 05.12.2026
CWE: CWE-200, CWE-524
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: 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 bo…

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable.

🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
5.9 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-200 CWE-524
References & Advisories (2)
Related CVEs
4.8
CVE-2026-139823
undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.3 and 8.0.0 through 8.14.0, the cache int
4.3
CVE-2026-144913
A flaw has been found in Youzan ZanProxy 5.0/5.1.0. This issue affects the function init of the file src/core/
4.3
CVE-2026-140273
The Booking for Appointments and Events Calendar – Amelia plugin for WordPress is vulnerable to Sensitive In
9.2
CVE-2026-115991
Exposure of sensitive information in the content lock-check endpoints (PUT /api/content/canLock and GET /api/v
8.3
CVE-2026-116974
The GraphQL response cache for /api/v1/graphql in dotCMS before 26.10.23-02 (25.07.10 LTS before v23) stored r
8.2
CVE-2026-126114
Use of a shared cache containing sensitive information in the content REST API in dotCMS through 26.11.03-01 a
6.9
CVE-2026-77469
FediHome is a self-hosted, single-user publishing platform that connects to the Fediverse via ActivityPub. Pri