Node.js Post-Quantum TLS Guide (Node 22.20+ LTS, 24.5+ & node-forge Migration)
Official statically linked Node.js releases starting at 22.20.0 LTS and 24.5.0 bundle OpenSSL 3.5+. Older 22.x builds (such as 22.14) and pure-JS crypto packages like node-forge lack post-quantum support.
Technical readiness profile
- Platform
- Node.js (node:crypto & TLS)
- Current status
- Upgrade Below 22.20 / 24.5
- Minimum version / policy
- Node.js >=22.20.0 LTS or >=24.5.0 (bundles OpenSSL 3.5+)
- Algorithms
- OpenSSL 3.5+ native ML-KEM / ML-DSA
- FIPS 140-3 & CNSA 2.0
- Verify process.versions.openssl inside actual production containers
- Vendor Trust Center
- https://nodejs.org/en/about/security
How to verify in your environment
node -p "process.version + ' / OpenSSL ' + process.versions.openssl"
Recommended IT and engineering actions
- Upgrade Dockerfile base images (for example, FROM node:22.20-slim) and verify process.versions.openssl >= 3.5.0 in production.
- Replace discontinued or classical-only pure-JS libraries (node-forge, crypto-js) with native node:crypto.
- Keep short-lived jsonwebtoken/jose access tokens in perspective (low HNDL urgency; focus on TLS transit first).
Common audit traps and gotchas
Distro-packaged Node.js binaries dynamically linked to host OpenSSL 3.0 will NOT gain ML-KEM even if the Node version number looks recent.
Related deep-dive guides
Compare other platforms in Developer Runtimes, Web Servers & Crypto Libraries