{"id":"CVE-2026-21713","published":"2026-03-30T19:07:28Z","modified":"2026-05-10T13:17:50Z","title":"A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating user-provided signatures…","vendor":"nodejs","product":"node","tier":"tail","description":{"text":"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**.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00375,"percentile":0.32258,"provenance":"source"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/march-2026-security-releases","tags":[]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":6.45},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"nodejs","product":"node","versions":[">= 20.20.1, <= 20.20.1",">= 22.22.1, <= 22.22.1",">= 24.14.0, <= 24.14.0",">= 25.8.1, <= 25.8.1",">= 4.0, < 4.*",">= 5.0, < 5.*",">= 6.0, < 6.*",">= 7.0, < 7.*",">= 8.0, < 8.*",">= 9.0, < 9.*"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-30T19:45:13.027379Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-17174","exploited":false,"provenance":"source"}}