CVE-2026-48930·Node.js vulnerability
A flaw in Node.js TLS hostname handling can cause Embedded-nul hostnames can lead to silent authority rebinding due to c-string truncation in resolver bindings. This vulnerability affects all supported release lines: **Node.js 22**, **Node.js 24**, and **Node.js 26**.
- Severity
- critical
- Software
- Node.js
- Fixed in
- 18.20.4+dfsg-1~deb12u3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.32% — higher than 24% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-48930 scores 10 on CVSS, so a successful attack would be serious — but at 0.32%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
Until: 18.20.4+dfsg-1~deb12u3
Fixed in: 18.20.4+dfsg-1~deb12u3
How to fix this CVE
Update Node.js to version 18.20.4+dfsg-1~deb12u3 or later to patch a critical TLS hostname validation flaw that allows attackers to bypass certificate authority checks through embedded null character exploitation. This vulnerability affects TLS connections across all supported Node.js release lines and requires immediate patching to prevent unauthorized certificate acceptance.
sudo dnf update nodejsDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your installed Node.js version with `node --version` and compare against the vulnerable range up to 18.20.3
- Step 2: Review TLS/SSL certificate validation logs in your application with `grep -i 'certificate\|hostname\|tls' /var/log/app.log | head -50`
- Step 3: Inspect network traffic captured during TLS handshakes for hostnames containing null bytes: `tcpdump -i any 'tcp port 443' -A | grep -P '\x00'`
- Step 4: Verify the patch by running `node --version` again and confirming version is 18.20.4 or higher, and restart all Node.js services with `sudo systemctl restart nodejs` or your application service
FAQ
What is CVE-2026-48930?
This is a critical TLS hostname validation bypass in Node.js caused by improper handling of embedded null characters in certificate hostnames, allowing attackers to silently redirect connections to unauthorized hosts due to C-string truncation in the resolver binding layer.
Is CVE-2026-48930 being actively exploited?
No, this vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog and no public exploit code is available, though the critical CVSS 10.0 score indicates immediate patching is necessary.
What versions of Node.js are affected by CVE-2026-48930?
All versions up to and including 18.20.3, 22.x before the patched release, and 24.x and 26.x release lines are affected. The fix is available in Node.js 18.20.4+dfsg-1~deb12u3 and corresponding patches for later versions.
How do I check if my server is vulnerable to CVE-2026-48930?
Run `node --version` to get your installed version and cross-reference against the vulnerable ranges. If you're below 18.20.4, or running unpatched 22.x, 24.x, or 26.x releases, your system is vulnerable.
Does Defensia detect CVE-2026-48930?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Node.js is installed on a monitored server, CVE-2026-48930 will appear in your dashboard with remediation steps.
Related Node.js CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-48930. Free for 1 server.
Get started free