CVE-2026-72569

cube-root directory-serve - Unauthenticated Path Traversal Arbitrary File Deletion

Published Aug 10, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A path traversal flaw in cube‑root/directory‑serve permits a remote attacker who does not need to authenticate to delete files that reside outside the intended directory when the application is run with the '--delete' option. The flaw exists because the file path supplied by the attacker is not sufficiently confined, allowing traversal via '../' sequences. As a result, an attacker can remove critical files, compromise data integrity, or disrupt service availability.

Affected Systems

The affected product is cube‑root:directory‑serve, affecting all releases through version 1.3.7. No other vendors or versions are listed as impacted.

Risk and Exploitability

The vulnerability has a CVSS score of 9.1, indicating a high severity level. Exploitation requires no authentication and relies on straightforward input manipulation by an unauthenticated remote attacker. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the combination of a high CVSS score and a simple exploitation vector suggests a notably high risk to systems running vulnerable versions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade directory-serve to a version newer than 1.3.7 where the deletion operation is limited to files within the intended directory, mitigating the path traversal flaw.
  • Disable the '--delete' option if deletion functionality is not required for the deployment.
  • Add network level controls such as IP whitelisting or mandatory authentication for any environment that exposes the delete functionality.

Generated by OpenCVE AI on August 10, 2026 at 20:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Cube-root
Cube-root directory-serve
Vendors & Products Cube-root
Cube-root directory-serve
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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. The lib/middleware/file-remove.js middleware does not sanitize the req.query.file parameter before using it to construct file system paths, enabling directory traversal via ../ sequences. 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.
Type Values Removed Values Added
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. The lib/middleware/file-remove.js middleware does not sanitize the req.query.file parameter before using it to construct file system paths, enabling directory traversal via ../ sequences.
Title cube-root directory-serve - Unauthenticated Path Traversal Arbitrary File Deletion
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
TuranSec
Published
Updated
Aug 10, 2026, 1:10 PM
Reserved
Aug 10, 2026, 10:32 AM
Status
Deferred
Published
Aug 10, 2026, 11:17 AM
Modified
Oct 24, 2026, 3:10 PM