{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "fixed": "7.30.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "8.0.0"
                  },
                  {
                    "fixed": "8.12.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "1cfe0949053aac6267f11b919cee9315a27f1fd6"
            },
            {
              "fixed": "6be57203986b3e7256b726fd14cd1e9527d1a85c"
            },
            {
              "introduced": "d7fbba51772deecb830a297647456a5e9f9fec57"
            },
            {
              "fixed": "779ee3e12cb8c1f365f6e69ee34b088159402d2f"
            }
          ],
          "repo": "https://github.com/nodejs/undici",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7xg3-fphp-28hg"
  ],
  "database_specific": {
    "cna_assigner": "openjs",
    "cwe_ids": [
      "CWE-524",
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120474.json"
  },
  "details": "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.",
  "id": "CVE-2026-120474",
  "modified": "2026-11-12T02:30:57.655835652Z",
  "published": "2026-11-06T09:57:46.664Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://cna.openjsf.org/security-advisories.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120474.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nodejs/undici/security/advisories/GHSA-7xg3-fphp-28hg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120474"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "undici vulnerable to cross-user cache disclosure via same-origin redirect"
}