CVE-2026-72569
Received Received - Intake

Path Traversal in cube-root/directory-serve

Vulnerability report for CVE-2026-72569, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-10

Last updated on: 2026-08-10

Assigner: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

Description

A path traversal vulnerability in cube-root/directory-serve through 1.3.7 allows an unauthenticated remote attacker to delete arbitrary files outside the intended served directory when the application is run with the --delete option.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-10
Last Modified
2026-08-10
Generated
2026-08-10
AI Q&A
2026-08-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
cube-root directory-serve 1.3.7
cube-root directory-serve to 1.3.7 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a path traversal vulnerability in the cube-root/directory-serve tool through version 1.3.7. When the application is run with the --delete option, an unauthenticated remote attacker can delete arbitrary files outside the intended directory. The vulnerability occurs because the file-remove.js middleware does not properly sanitize the req.query.file parameter before using it to construct file system paths, allowing directory traversal via sequences like ../.

Detection Guidance

Check if directory-serve is running with the --delete option by inspecting process commands. Look for unusual file deletions in logs or unexpected file system changes. Test by attempting to access ../ paths in file removal requests.

Impact Analysis

An attacker could exploit this to delete critical system files, application data, or sensitive user files outside the intended directory. This could lead to denial of service, data loss, or system compromise depending on which files are targeted. The high CVSS score indicates the potential for significant impact.

Compliance Impact

This vulnerability could lead to unauthorized file deletion, potentially violating data integrity requirements in GDPR and HIPAA. If sensitive personal or health data is deleted, it may constitute a data breach requiring notification under these regulations. The lack of proper access controls also undermines security requirements.

Mitigation Strategies

Stop using directory-serve with the --delete option immediately. Update to the latest patched version if available. Implement network-level restrictions to block unauthorized file deletion requests.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-72569. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart