
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-21712 is a denial-of-service vulnerability in Node.js URL processing, titled "Assertion error in node_url.cc via malformed URL format leads to Node.js crash." When url.format() is called with a malformed internationalized domain name (IDN) containing invalid characters, an assertion failure occurs in native code (node_url.cc), crashing the Node.js process. It affects Node.js 24.x (fixed in v24.14.1) and 25.x (fixed in v25.8.2). The vulnerability was reported by researcher "wooffie" via HackerOne and disclosed on March 30, 2026, as part of Node.js's March 2026 security release. It carries a CVSS v3.0 base score of 5.7 (Medium) (Node.js Advisory, GitHub Advisory).
The root cause is improper input validation (CWE-20) in Node.js's native URL processing code (node_url.cc). When url.format() receives a hostname containing an invalid IDN (internationalized domain name) — such as one with characters that fail IDNA encoding — the underlying native assertion check fails rather than gracefully handling the error, causing an unhandled process crash. Exploitation requires a low-privileged attacker to supply a malformed IDN string to an application that passes user-controlled input to url.format(), and some form of user interaction is required per the CVSS vector. The fix was implemented by maintainer RafaelGSS (Node.js Advisory, GitHub Advisory).
Successful exploitation results in a complete crash of the affected Node.js process, causing a denial-of-service condition with high availability impact. There is no confidentiality or integrity impact — the vulnerability cannot be used to access or modify data. Any Node.js 24.x or 25.x application that passes user-controlled input to url.format() without prior validation is at risk of being crashed by a low-privileged attacker (Node.js Advisory, GitHub Advisory).
url.format() — for example, a URL normalization or redirect service.xn--�invalid.example.url.format() with the attacker-controlled value.node_url.cc code processes the malformed IDN, hits an internal assertion check, and crashes the Node.js process, resulting in a denial-of-service condition (Node.js Advisory, GitHub Advisory).node_url.cc; application logs showing abrupt termination without a graceful shutdown sequence.Upgrade Node.js to the patched versions: v24.14.1 (for 24.x users) or v25.8.2 (for 25.x users), released as part of the March 2026 security update. As a workaround prior to patching, implement input validation to reject or sanitize malformed IDN strings before they are passed to url.format() — for example, using a try/catch around IDNA encoding or validating hostnames against an allowlist of valid characters. IBM API Connect users should consult the IBM advisory for product-specific guidance (Node.js Advisory, IBM Advisory).
The Node.js project disclosed this vulnerability as part of a broader March 2026 security release that addressed nine CVEs across multiple release lines, with community coverage noting the batch nature of the release. Security blogs including HeroDevs and SecPod covered the March 2026 Node.js security release, highlighting the DoS risks. Red Hat, openSUSE, Amazon Linux, and AlmaLinux all issued downstream advisories and errata for their Node.js packages, indicating broad ecosystem uptake of the patch (Node.js Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."