Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-72569: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in cube-root directory-serve

0
Critical
VulnerabilityCVE-2026-72569cvecve-2026-72569cwe-22
Published: 08/10/2026 (08/10/2026, 10:40:43 UTC)
Source: CVE Database V5
Vendor/Project: cube-root
Product: directory-serve

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 v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected software

cube-root/directory-serve
pkg:npm/cube-root/directory-serve
Affected versions
<1.3.8

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 11:14:18 UTC

Technical Analysis

This vulnerability in cube-root directory-serve (through version 1.3.7) involves improper limitation of a pathname to a restricted directory (CWE-22). Specifically, the lib/middleware/file-remove.js middleware fails to sanitize the req.query.file parameter before using it to construct filesystem paths. When the application is run with the --delete option, an unauthenticated remote attacker can exploit this flaw by supplying crafted '../' sequences to delete arbitrary files outside the served directory.

Potential Impact

An unauthenticated attacker can delete arbitrary files on the filesystem outside the intended directory served by the application, potentially causing denial of service or data loss. The vulnerability does not impact confidentiality but has high integrity and availability impact as per the CVSS 3.1 score of 9.1.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid running the application with the --delete option or restrict access to trusted users only to mitigate the risk of exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-10T10:32:53.853Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a79ae6ebf8831d5398afd09

Added to database: 08/10/2026, 10:56:46 UTC

Last enriched: 08/10/2026, 11:14:18 UTC

Last updated: 08/11/2026, 03:40:59 UTC

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses