Skip to content
Path traversal Write-up Intermediate

CVE‑2025‑27210 & CVE‑2025‑27209: Two high‑severity vulnerabilities in Node.js threaten Windows apps and hash-based services

Node.js had a path traversal bypass on Windows via reserved device names and a hash collision denial-of-service in version 24.x. Attackers could access sensitive files on Windows or cause CPU exhaustion and outages.

Bash Overflow Follow

Published on infosecwriteups.com

Two high‑severity flaws: CVE‑2025‑27210 and CVE‑2025‑27209were found in Node.js. The first is a path traversal bypass exploiting Windows device names (CON, PRN, AUX).

Bash Overflow, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, Node.js's path normalization functions mishandle Windows reserved device names, and the rapidhash algorithm in V8 is vulnerable to hash collisions.

Impact

Attackers could access sensitive files on Windows servers or cause resource exhaustion and outages on any Node.js 24.x deployment.

What the attacker needed

Windows system; Node.js 20.x, 22.x, or 24.x; Node.js 24.x for HashDoS

The fix

The issues were fixed in Node.js versions 20.19.4, 22.17.1, and 24.4.1.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is about two security bugs in Node.js, a popular tool for running JavaScript on servers. One lets attackers on Windows trick the software into reading or changing files it shouldn't, by using special names like 'CON' that Windows treats as devices. The other lets attackers send specially crafted text that makes the server work very hard and slow down or crash.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Bash Overflow

View all

35 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.