← Back to CVE List
CVE-2026-21713NVD
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**.
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**.
CVSS v3.0 Base Metrics — Score 5.9 (MEDIUM)
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched 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
Not provided by NVD for this CVE.