CVE-2026-129981

Source
https://cve.org/CVERecord?id=CVE-2026-129981
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129981.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-129981
Aliases
  • GHSA-qpmw-hmf2-3j36
Published
2026-12-05T10:22:44Z
Modified
2026-12-05T12:00:09Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N CVSS Calculator
Summary
undici vulnerable to cross-user cache disclosure via mismatched-ETag 304 revalidation
Details

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.

Database specific
{
    "cna_assigner":  "openjs",
    "cwe_ids":  [
        "CWE-345",
        "CWE-524"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129981.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "7.17.0"
                        },
                        {
                            "fixed":  "7.30.4"
                        },
                        {
                            "introduced":  "8.0.0"
                        },
                        {
                            "fixed":  "8.14.1"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/nodejs/undici

Affected ranges

Type
GIT
Repo
https://github.com/nodejs/undici
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "7.17.0"
                },
                {
                    "last_affected":  "7.30.3"
                }
            ],
            "source":  "DESCRIPTION"
        },
        {
            "range":  [
                {
                    "introduced":  "8.0.0"
                },
                {
                    "last_affected":  "8.14.0"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

v7.*
v7.17.0
v7.18.0
v7.18.1
v7.18.2
v7.19.0
v7.19.1
v7.19.2
v7.20.0
v7.21.0
v7.22.0
v7.23.0
v7.24.0
v7.24.1
v7.24.2
v7.24.3
v7.24.4
v7.24.5
v7.24.6
v7.24.7
v7.24.8
v7.25.0
v7.26.0
v7.27.0
v7.27.1
v7.27.2
v7.28.0
v7.29.0
v7.29.1
v7.30.0
v7.30.1
v7.30.2
v7.30.3
v8.*
v8.0.0
v8.0.1
v8.0.2
v8.0.3
v8.1.0
v8.10.0
v8.10.1
v8.10.2
v8.11.0
v8.11.1
v8.11.2
v8.12.0
v8.12.1
v8.12.2
v8.12.3
v8.12.4
v8.13.0
v8.13.1
v8.14.0
v8.2.0
v8.3.0
v8.4.0
v8.4.1
v8.5.0
v8.6.0
v8.7.0
v8.8.0
v8.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129981.json"