{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "20.20.1"
              },
              {
                "introduced": "22.0.0"
              },
              {
                "last_affected": "22.22.1"
              },
              {
                "introduced": "24.0.0"
              },
              {
                "last_affected": "24.14.0"
              },
              {
                "introduced": "25.0.0"
              },
              {
                "last_affected": "25.8.1"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "eb5334341594489a54d99812a227d921c0221304"
            },
            {
              "introduced": "12fb157f79da8c094a54bc99370994941c28c235"
            },
            {
              "last_affected": "b4acf0c9393e4b31c4937564f059c672967161d8"
            },
            {
              "introduced": "c5349f43cd66d2aa02d86414c9ed426f71d3ae48"
            },
            {
              "last_affected": "f657bb8ed86365ff3fdbe32e27563e778b41486a"
            },
            {
              "introduced": "0b3a10d4c8ba5e15429287e725d22615be896e95"
            },
            {
              "last_affected": "2ea7a7b67c3d698a0e80d2591365e2dc5c5f7a81"
            }
          ],
          "repo": "https://github.com/nodejs/node",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "hackerone",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21713.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "20.20.1"
          },
          {
            "last_affected": "20.20.1"
          },
          {
            "introduced": "22.22.1"
          },
          {
            "last_affected": "22.22.1"
          },
          {
            "introduced": "24.14.0"
          },
          {
            "last_affected": "24.14.0"
          },
          {
            "introduced": "25.8.1"
          },
          {
            "last_affected": "25.8.1"
          },
          {
            "introduced": "4.0"
          },
          {
            "fixed": "4.*"
          },
          {
            "introduced": "5.0"
          },
          {
            "fixed": "5.*"
          },
          {
            "introduced": "6.0"
          },
          {
            "fixed": "6.*"
          },
          {
            "introduced": "7.0"
          },
          {
            "fixed": "7.*"
          },
          {
            "introduced": "8.0"
          },
          {
            "fixed": "8.*"
          },
          {
            "introduced": "9.0"
          },
          {
            "fixed": "9.*"
          },
          {
            "introduced": "10.0"
          },
          {
            "fixed": "10.*"
          },
          {
            "introduced": "11.0"
          },
          {
            "fixed": "11.*"
          },
          {
            "introduced": "12.0"
          },
          {
            "fixed": "12.*"
          },
          {
            "introduced": "13.0"
          },
          {
            "fixed": "13.*"
          },
          {
            "introduced": "14.0"
          },
          {
            "fixed": "14.*"
          },
          {
            "introduced": "15.0"
          },
          {
            "fixed": "15.*"
          },
          {
            "introduced": "16.0"
          },
          {
            "fixed": "16.*"
          },
          {
            "introduced": "17.0"
          },
          {
            "fixed": "17.*"
          },
          {
            "introduced": "18.0"
          },
          {
            "fixed": "18.*"
          },
          {
            "introduced": "19.0"
          },
          {
            "fixed": "19.*"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating user-provided signatures, potentially leaking timing information proportional to the number of matching bytes. Under certain threat models where high-resolution timing measurements are possible, this behavior could be exploited as a timing oracle to infer HMAC values.\r\n\r\nNode.js already provides timing-safe comparison primitives used elsewhere in the codebase, indicating this is an oversight rather than an intentional design decision.\r\n\r\nThis vulnerability affects **20.x, 22.x, 24.x, and 25.x**.",
  "id": "CVE-2026-21713",
  "modified": "2026-08-21T03:30:10.667723199Z",
  "published": "2026-03-30T19:07:28.356Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21713.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21713"
    },
    {
      "type": "ARTICLE",
      "url": "https://nodejs.org/en/blog/vulnerability/march-2026-security-releases"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}