CVE-2026-21713: 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. Node.js already provides timing-safe comparison primitives used elsewhere in the codebase, indicating this is an oversight rather than an intentional design decision. This vulnerability affects **20.x, 22.x, 24.x, and 25.x**.

Overview

Severity
Medium (CVSS 5.9)
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Exploit Status
Not Exploited
Patch Tuesday
2026-Mar
Released
2026-04-01
Last Updated
2026-04-09
EPSS Score
0.39% (percentile: 30.4%)

Affected Products (2)

Other

  • 21111-17084

Open Source Software

  • azl3 nodejs24 24.13.0-3 on Azure Linux 3.0

Revision History

  • 2026-04-01: Information published.
  • 2026-04-08: Information published.
  • 2026-04-09: Information published.