---
id: CVE-2026-72569
title: >-
  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.
summary: >-
  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.
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-22
published: '2026-08-10'
updated: '2026-08-28'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72569'
references:
  - url: 'https://github.com/cube-root/directory-serve'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
  - url: >-
      https://github.com/cube-root/directory-serve/blob/main/lib/middleware/file-remove.js
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
tags:
  - nvd
epss: 0.00736
epssPercentile: 0.52444
ingestedAt: '2026-08-29T16:39:14.840Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
