PT-2026-69453 · Npm · Directory Server
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
cube-root/directory-serve versions prior to 1.3.8
Description
A path traversal issue exists where an unauthenticated remote attacker can delete arbitrary files outside the intended served directory. This occurs when the application is executed with the
--delete option. The lib/middleware/file-remove.js middleware fails to sanitize the file parameter in the request query before using it to construct file system paths, allowing the use of ../ sequences to traverse directories.Recommendations
Update cube-root/directory-serve to version 1.3.8 or later.
As a temporary mitigation, avoid running the application with the
--delete option.Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Directory Server