home / blog
2026-12-02 · high
RSA PKCS#1 v1.5 Attack in node-forge (CVE-2026-85393)
Critical vulnerability in node-forge enables RSA signature forgery. Patch available. CVE-2026-85393 CVSS 7.5.

CVE-2026-85393 affects node-forge, a JavaScript library through version 1.4.0, which fails to validate element count in nested DigestAlgorithm sequences during RSA PKCS#1 v1.5 signature verification. This flaw allows attackers to embed garbage bytes inside the DigestAlgorithm sequence to forge valid signatures for arbitrary messages using low-exponent RSA keys.
The vulnerability is classified as severe with a CVSS score of 7.5 and 'high' status. Public exploits have been identified on GitHub, indicating that a working proof-of-concept exists. It's important to note that this vulnerability represents an incomplete fix for CVE-2026-33894, suggesting the issue may persist in certain contexts.
For defense, it's crucial to immediately update all node-forge instances to a version later than 1.4.0. Security teams should review their implementations to identify any use of RSA PKCS#1 v1.5 signatures and consider transitioning to more modern signing mechanisms if possible. Monitoring for any additional updates or fixes related to CVE-2026-33894 is also important.
At a glance
- What
- Node-forge through 1.4.0 fails to validate element count in nested DigestAlgorithm sequences during RSA PKCS#1 v1.5 signature verification, enabling signature forgery.
- Severity
- High (CVSS 7.5)
- Affected versions
- Node-forge through 1.4.0
- Fix
- Update to a version later than 1.4.0
- Status
- Published on NVD on September 2, 2026
- Action
- Immediately update node-forge instances to patched version
Sources: NVD, CVE-2026-85393