CVE-2026-9678

Red Hat Security Advisory: nodejs:22 security, bug fix, and enhancement update

mediumEPSS 0.4%

Description

A flaw was found in Undici. The cache interceptor in shared-cache mode incorrectly classifies certain responses as cacheable due to improper handling of whitespace-padded Cache-Control header field names. This vulnerability allows an unauthenticated attacker to access authenticated user data from the cache, leading to information disclosure. This occurs when both authenticated and unauthenticated requests resolve to the same cache key.

Metrics

Severity
medium
no public PoC known
5.9
Source: nvd-v3
32.3 %
Elevated — this CVE ranks above at least 10% of all CVEs scored today.
0.4 %
Low — model estimates < 1% exploitation likelihood.
Published
2026-07-20 13:23 UTC
CWE-524

Weakness classes (CWE)

  • CWE-524Base

    Use of Cache Containing Sensitive Information

    The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.

    cwe.mitre.org →

Reanalysis & status changes

Chronological NVD audit events for this CVE — reanalyses, CVSS updates, CPE diffs.

  1. Initial Analysis2026-06-25 17:44 UTC· nvd@nist.gov
    • CPE Configuration: OR *cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* versions from (including) 8.0.0 up to (excluding) 8.5.0 *cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* versions from (including) 7.0.0 up to (excluding) 7.28.0
    • Reference Type: openjs: https://cna.openjsf.org/security-advisories.html Types: Vendor Advisory
    • Reference Type: openjs: https://github.com/nodejs/undici/security/advisories/GHSA-pr7r-676h-xcf6 Types: Mitigation, Vendor Advisory
  2. New CVE Received2026-06-17 18:18 UTC· ce714d77-add3-4f53-aff5-83d477b104bb
    • Affected: undici
    • Description: Impact: Undici's cache interceptor incorrectly classifies some responses as cacheable when the upstream Cache-Control header uses whitespace-padded qualified private or no-cache field names such as private=" authorization" or no-cache="\tauthorization". The parser preserves the surrounding whitespace, so later comparisons against the literal authorization field name fail and the response is stored. In shared-cache mode, this allows a response containing one user's authenticated data to be served from cache to a subsequent caller, including an unauthenticated caller, when both requests resolve to the same cache key. Affected applications are those that explicitly enable the cache interceptor (interceptors.cache()) in shared mode, forward Authorization headers upstream, and receive cacheable responses with non-canonical qualified private or no-cache directives. Patches: Upgrade to undici v7.28.0 or v8.5.0. Workarounds: If upgrade is not immediately possible, disable shared-cache mode for traffic that includes Authorization headers, avoid caching responses to authenticated requests, or add Vary: Authorization upstream.
    • CVSS V3.1: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
    • CWE: CWE-524

Affected products

Products and version ranges extracted from the vendor/CERT advisory. A range like „<4.14.6“ implies the update recommendation „upgrade to 4.14.6 or later“.

  • beaugunderson

    ip-address10.1.1

  • bitnami

    node-min22.22.3

  • bitnami

    node-min24.16.0

  • bitnami

    node-min26.3.0

  • IBM

    App Connect EnterpriseCD 13.4.0

  • IBM

    App Connect EnterpriseLTS 12.0.26

  • IBM

    App Connect EnterpriseLTS 13.4.0

  • nodejs

    undici6.17.0 – 6.27.0

  • nodejs

    undici7.0.0 – 7.28.0

  • nodejs

    undici8.0.0 – 8.5.0

References & sources

Linked CVEs

IDCVE-2026-9678