CVE Professor
/
All CVEs
CVE-2026-129981

CVE-2026-129981 — Undici (7.30.4) — CWE-345 · CWE-524

MEDIUM CVSS 6.5 NVD+CVE.org

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 the cache interceptor is used with a shared cache and serves a response inside its stale-while-revalidate window, it revalidates the stored response in the background, and if that background 304 Not Modified carries an ETag that differs from the cached representation, undici reuses the stored body and binds it to the new validator and freshness lifetime instead of discarding it, unlike the synchronous revalidation path. A remote origin that answers the background conditional request this way makes the shared cache keep serving a stale representation to later callers, which on a shared cache holding per-caller or otherwise sensitive responses can disclose one caller's body to another and serve a body the origin has already replaced. Applications are affected only when a shared cache store is used and the origin returns a 304 with a mismatched ETag during background revalidation. 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 per-caller cache store for responses that are not safe to share, or mark such responses no-store or private so they are not retained in a shared cache.

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 the cache interceptor is used with a shared cache and serves a response inside its stale-while-revalidate window, it revalidates the stored response in the background, and if that background 304 Not Modified carries an ETag that differs from the cached representation, undici reuses the stored body and binds it to the new validator and freshness lifetime instead of discarding it, unlike the synchronous revalidation path. A remote origin that answers the background conditional request this way makes the shared cache keep serving a stale representation to later callers, which on a shared cache holding per-caller or otherwise sensitive responses can disclose one caller's body to another and serve a body the origin has already replaced. Applications are affected only when a shared cache store is used and the origin returns a 304 with a mismatched ETag during background revalidation. 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 per-caller cache store for responses that are not safe to share, or mark such responses no-store or private so they are not retained in a shared cache.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/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 Low I:L
Availability None A:N
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-129981
CVSS 6.5/10 · MEDIUM · 05.12.2026
CWE: CWE-345, CWE-524
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/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 the cache interceptor is used with a shared cache and serves a response inside its stale-while-revalidate window, it revalidates the stored response in the background, and if that background 304 Not Modified carries an ETag that differs from the cached representation, undici reuses the stored …
Affected: undici undici

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

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; limited integrity modification (I:L).

🛡️ REMEDIATION
→ Apply vendor security update for undici undici.
→ 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)

FOFA Query

app="undici undici"
CVSS Score
6.5 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-345 CWE-524
Affected Products (1)
undici:undici (7.30.4)
References & Advisories (2)
Related CVEs
7.5
CVE-2026-137980
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 built-in
7.5
CVE-2026-137987
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, a malicious
7.5
CVE-2026-138000
undici is an HTTP client for Node.js. In versions 8.12.0 through 8.14.0, when an application composes the retr
7.5
CVE-2026-139829
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, when an appli
7.4
CVE-2026-133890
undici is an HTTP client for Node.js. In versions 7.30.1 through 7.30.3 and 8.12.2 through 8.14.0, the fix for
5.9
CVE-2026-139839
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 share
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