Skip to main content
VulnerabilityPublished

CVE-2026-139839: undici · Information Exposure

Affects undiciSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.9 Medium : upgrade to 8.14.1 or 7.30.4 when convenient.

Data as of 5 Dec 2026, 10:00 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (openjs)CVSS 3.15.9
Patch
Available – fixed in 8.14.1, 7.30.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.

What to do

Upgrade undici to 8.14.1 or 7.30.4.

Affected software

ProductAffectedFixed in
undiciundiciAffected
  • >=8.0.0 <8.14.1
Fixed in
  • 8.14.1
undiciundiciAffected
  • >=7.17.0 <7.30.4
Fixed in
  • 7.30.4
npmundicipkg:npm/undiciOther threatsAffected
  • >=8.0.0 <8.14.1
  • >=7.17.0 <7.30.4
Fixed in
  • 8.14.1
  • 7.30.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in undici versions 7.30.4 and 8.14.1; users should upgrade to these versions or later. As a workaround, users can disable stale-while-revalidate reuse for per-user resources, use a private cache instead of a shared cache, or ensure the origin server sends the final Vary header on the initial response. No other mitigations are indicated by the vendor advisory.

Description

undici, an HTTP client for Node.js, has a vulnerability in versions 7.17.0 through 7.30.3 and 8.0.0 through 8.14.0 involving its shared cache interceptor. When serving a stale cached response with stale-while-revalidate enabled, a 304 Not Modified response that adds a Vary header not present in the original cached response is not properly handled. This causes undici to serve cached response bodies intended for different request headers, potentially exposing cached data across users or tenants. The issue is fixed in versions 7.30.4 and 8.14.1. Users should upgrade to these or later versions or apply recommended workarounds.

References

Community reviews

Loading reviews…