Description
undici's cache interceptor does not handle the Set-Cookie response header anywhere in its cache path, so it neither refuses to store nor strips that header. In shared cache mode, which is the default, an otherwise cacheable response that carries a Set-Cookie header, for example one marked with a public and max-age directive, is stored and then re-served to a later caller that matches the same cache key. As a result one caller's cookie is disclosed to a different caller, and an untrusted server can inject cookies into cached responses served to all subsequent callers. This violates the requirement that a shared cache must not store cookies. This affects undici versions from 7.0.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.
Published: 2026-09-04
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: cross‑user cookie disclosure via shared cache
Action: Immediate Patch
AI Analysis

Impact

Based on the description, undici’s default shared cache interprets a Set‑Cookie header as an ordinary cacheable response, storing it without modification. When subsequently requested by another caller whose request matches the same cache key, the cached response—still containing the original Set‑Cookie header—is returned. This exposes the first caller’s cookie to an unrelated client, and an attacker can inject arbitrary cookies into a response that will then be cached and replayed to all future callers. The vulnerability is an information‑exposure flaw that maps to CWE‑200 and the caching of sensitive data, CWE‑524.

Affected Systems

The issue is present in undici versions 7.0.0 through 7.29.1 and 8.0.0 through 8.10.2 when the library operates in its default shared‑cache mode, which is enabled unless the application explicitly disables it.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity. The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, so the probability of exploitation is uncertain. The likely attack vector requires an attacker to send a cookie‑bearing response that the shared cache will accept—typically by controlling a server that the vulnerable application queries. If exploit succeeds, the attacker can obtain a victim’s session cookie, enabling session hijacking or unauthorized access. While the dependency on the shared cache reduces the attack surface, any environment that relies on undici’s shared‑cache mode could be affected.

Generated by OpenCVE AI on September 4, 2026 at 21:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade undici to v7.29.1 or v8.10.2 as soon as possible to apply the vendor fix.
  • If an upgrade cannot be performed immediately, disable the shared‑cache mode in the undici configuration or enforce Cache‑Control headers that mark Set‑Cookie responses as non‑cacheable.
  • Configure an additional filtering layer that removes or defangs the Set‑Cookie header before a response is stored in the cache, ensuring cookie‑bearing responses are never cached or served to other callers.

Generated by OpenCVE AI on September 4, 2026 at 21:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 15 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs undici
CPEs cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
Vendors & Products Nodejs
Nodejs undici

Sat, 05 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 04 Sep 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Undici
Undici undici
Vendors & Products Undici
Undici undici

Fri, 04 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 17:15:00 +0000

Type Values Removed Values Added
Description undici's cache interceptor does not handle the Set-Cookie response header anywhere in its cache path, so it neither refuses to store nor strips that header. In shared cache mode, which is the default, an otherwise cacheable response that carries a Set-Cookie header, for example one marked with a public and max-age directive, is stored and then re-served to a later caller that matches the same cache key. As a result one caller's cookie is disclosed to a different caller, and an untrusted server can inject cookies into cached responses served to all subsequent callers. This violates the requirement that a shared cache must not store cookies. This affects undici versions from 7.0.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.
Title undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared caches
Weaknesses CWE-200
CWE-524
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-09-04T18:34:14.407Z

Reserved: 2026-09-02T16:20:41.850Z

Link: CVE-2026-84933

cve-icon Vulnrichment

Updated: 2026-09-04T18:34:10.888Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-04T17:17:01.973

Modified: 2026-09-15T14:38:55.600

Link: CVE-2026-84933

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-04T16:59:08Z

Links: CVE-2026-84933 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T21:15:05Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-524

    Use of Cache Containing Sensitive Information