PT-2026-49733 · Npm · Statics-Server

·

CVE-2026-54286

·

Published

2026-06-16

·

Updated

2026-07-27

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions serve-static (affected versions not specified)
Description On Windows hosts, an encoded backslash (%5C) in the request path decodes to , which the Windows path resolver treats as a separator. Because the router splits paths only on `/`, a request such as `/admin%5Csecret.txt` is treated as a single segment, bypassing middleware mounted on prefixes like `/admin/*`. The `serve-static` guard allows a lone to pass, enabling the file resolver to treat it as a nested file under the root. This allows an unauthenticated attacker to read static files intended to be protected by prefix-mounted middleware, although access remains restricted to the configured root directory.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54286
GHSA-WWFH-H76J-FC44

Affected Products

Statics-Server