CVE-2026-21713 Information disclosure in node

Medium 5.9 Published Updated

Attackers can exploit a timing side-channel in Node.js HMAC verification to infer signature values, potentially compromising authentication integrity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-21713?

CVE-2026-21713 is a medium-severity vulnerability in Nodejs Node.js, published on 30 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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**.

Weakness: CWE-208

Which versions are affected by CVE-2026-21713?

2 open source packages ship an affected version, including node and node-min. It affects 1 product.

PackageAffectedFixed in
node BitnamiAll versions20.20.2, 22.22.2, 24.14.1, 25.8.2
node-min BitnamiAll versions20.20.2, 22.22.2, 24.14.1, 25.8.2

Products include Nodejs Node.js.

How do I fix CVE-2026-21713?

Upgrade node to a fixed version for your release line: 20.20.2, 22.22.2, 24.14.1 or 25.8.2.

Is CVE-2026-21713 being exploited?

There is no known exploitation of CVE-2026-21713 in the wild and no public exploit code.

All Nodejs Node.js vulnerabilities

Sources

Also known as ALPINE-CVE-2026-21713, AZL-81242, AZL-81248, BELL-CVE-2026-21713, BIT-node-2026-21713, BIT-node-min-2026-21713 and 11 more.

Is CVE-2026-21713 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free