CVE Watchtower

CVE-2026-21713Nodejs Node.js Observable Timing Discrepancy

NVDCVSS scored by support@hackerone.com

Vulnerability Summary

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**.
Severity Level
MEDIUM(5.9)
Published Date
Mar 30, 2026
Last Modified
Aug 19, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.39%Probability
Root Weakness (CWE)
Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.
CVSS v3.0 Base Metrics — Score 5.9 (MEDIUM)
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Nodejs Node.js <= 20.20.1
  • Nodejs Node.js >= 22.0.0 and <= 22.22.1
  • Nodejs Node.js >= 24.0.0 and <= 24.14.0
  • Nodejs Node.js >= 25.0.0 and <= 25.8.1
  • nodejs node >= 20.20.1 and <= 20.20.1
  • nodejs node >= 22.22.1 and <= 22.22.1
  • nodejs node >= 24.14.0 and <= 24.14.0
  • nodejs node >= 25.8.1 and <= 25.8.1
  • nodejs node >= 4.0 and < 4.*
  • nodejs node >= 5.0 and < 5.*
  • nodejs node >= 6.0 and < 6.*
  • nodejs node >= 7.0 and < 7.*
  • nodejs node >= 8.0 and < 8.*
  • nodejs node >= 9.0 and < 9.*
  • nodejs node >= 10.0 and < 10.*
  • nodejs node >= 11.0 and < 11.*
  • nodejs node >= 12.0 and < 12.*
  • nodejs node >= 13.0 and < 13.*
  • nodejs node >= 14.0 and < 14.*
  • nodejs node >= 15.0 and < 15.*
  • nodejs node >= 16.0 and < 16.*
  • nodejs node >= 17.0 and < 17.*
  • nodejs node >= 18.0 and < 18.*
  • nodejs node >= 19.0 and < 19.*
Patched Versions
  • nodejs node 20.20.1
  • nodejs node 22.22.1
  • nodejs node 24.14.0
  • nodejs node 25.8.1
  • nodejs node 4.*
  • nodejs node 5.*
  • nodejs node 6.*
  • nodejs node 7.*
  • nodejs node 8.*
  • nodejs node 9.*
  • nodejs node 10.*
  • nodejs node 11.*
  • nodejs node 12.*
  • nodejs node 13.*
  • nodejs node 14.*
  • nodejs node 15.*
  • nodejs node 16.*
  • nodejs node 17.*
  • nodejs node 18.*
  • nodejs node 19.*

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Nodejs Node.js and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Mar 30, 2026Published
  • Aug 19, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Nodejs Node.js CVEsYou are reading CVE-2026-21713. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 27, 2026 20:15 UTC