Description
undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.1 and 8.0.0 through 8.12.3, when the redirect interceptor and a shared response cache are used together, an authenticated request that is redirected to a same-origin target has the final response stored under the original request's cache key. That key omits the credential and carries no Vary header, so a later anonymous or different user can be served the first user's private response body. This results in cross-user disclosure of cached private responses. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later.
Published: 2026-11-06
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross-user cache disclosure
Action: Apply Patch
AI Analysis

Impact

Undici, an HTTP client for Node.js, has a flaw that allows cross-user cache disclosure when the redirect interceptor and a shared response cache are enabled together. When an authenticated request is redirected to a same‑origin target, the final response is stored under the original request’s cache key, which excludes credentials and lacks a Vary header. As a result, a later anonymous or different authenticated user can receive the first user’s private response body. This vulnerability is a form of information disclosure and is characterized by CWE‑524 and CWE‑639.

Affected Systems

Products: undici (undici). Vulnerable versions are 7.0.0 through 7.30.1 and 8.0.0 through 8.12.3. The issue is fixed in undici 7.30.2 and 8.12.4 and later releases.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. No EPSS score is available, so the current exploitation probability cannot be quantified. Undici is not listed in the CISA KEV catalog. The likely attack vector requires an application that uses undici with the redirect interceptor and shared response cache enabled; the attacker must be able to force an authenticated request that triggers a same‑origin redirect and then use the same cache space to retrieve the cached private response. The vulnerability would lead to cross‑user disclosure of sensitive data but does not allow arbitrary code execution, remote access, or denial of service.

Generated by OpenCVE AI on November 6, 2026 at 11:31 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade undici to version 7.30.2 or later, or 8.12.4 or later, to apply the vendor fix.
  • If an immediate upgrade is not possible, disable the redirect interceptor or shared response cache in your application configuration until a patched version is available.
  • Review application code that uses undici to ensure that authenticated responses are not cached under keys that omit credentials, and implement additional checks or logging to detect potential cache leakage.

Generated by OpenCVE AI on November 6, 2026 at 11:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 12:15:00 +0000

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

Fri, 06 Nov 2026 10:00:00 +0000

Type Values Removed Values Added
Description undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.1 and 8.0.0 through 8.12.3, when the redirect interceptor and a shared response cache are used together, an authenticated request that is redirected to a same-origin target has the final response stored under the original request's cache key. That key omits the credential and carries no Vary header, so a later anonymous or different user can be served the first user's private response body. This results in cross-user disclosure of cached private responses. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later.
Title undici vulnerable to cross-user cache disclosure via same-origin redirect
Weaknesses CWE-524
CWE-639
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-11-06T09:57:46.664Z

Reserved: 2026-11-02T13:47:10.769Z

Link: CVE-2026-120474

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-06T10:16:36.913

Modified: 2026-11-06T10:16:36.913

Link: CVE-2026-120474

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T12:00:04Z

Weaknesses
  • CWE-524

    Use of Cache Containing Sensitive Information

  • CWE-639

    Authorization Bypass Through User-Controlled Key