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.
Published: 2026-08-10
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 11 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Cube-root
Cube-root directory-serve
Vendors & Products Cube-root
Cube-root directory-serve

Mon, 10 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 10 Aug 2026 12:00:00 +0000

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.

Mon, 10 Aug 2026 11:00:00 +0000

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'}


Subscriptions

Cube-root Directory-serve
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-10T13:10:20.674Z

Reserved: 2026-08-10T10:32:53.853Z

Link: CVE-2026-72569

cve-icon Vulnrichment

Updated: 2026-08-10T13:10:16.075Z

cve-icon NVD

Status : Deferred

Published: 2026-08-10T11:17:29.503

Modified: 2026-08-28T18:51:39.823

Link: CVE-2026-72569

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T14:25:03Z

Weaknesses
  • CWE-22

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