Intel

AIKIDO-2026-10969

node-rsa is vulnerable to Side-channel Attack

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 28, 2026
May 28, 2026

75

CVE Score

High

Side-channel Attack

Are you affected? Scan for Free

TL;DR

The node-rsa library performs RSA encryption, decryption, signing, and verification in JavaScript for Node.js and browser environments. Before the fix, PKCS#1 v1.5 decryption, OAEP decoding, PSS verification, and unblinded private RSA operations leaked timing information that a remote attacker can measure to recover plaintext or private key material. Miller-Rabin primality testing used predictable witnesses, imported CRT private key components were not cross-checked, and several key-import parsers lacked strict validation. The patch rewrites these code paths with constant-time decoding, RSA blinding, CSPRNG-based primality tests, CRT consistency checks, and hardened PKCS#8 and OpenSSH parsing.

How do I fix this?

Upgrade the node-rsa library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.0.1 - 1.1.1

Fixed in 2.0.0

Background info

node-rsa is vulnerable to Side-channel Attack in versions 0.0.1 - 1.1.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea