CVE-2026-39942

HIGH

Directus has a Path Traversal and Broken Access Control in File Management API

Title source: cna

Description

Directus is a real-time API and App dashboard for managing SQL database content. Prior to 11.17.0, the PATCH /files/{id} endpoint accepts a user-controlled filename_disk parameter. By setting this value to match the storage path of another user's file, an attacker can overwrite that file's content while manipulating metadata fields such as uploaded_by to obscure the tampering. This vulnerability is fixed in 11.17.0.

Scores

CVSS v3 8.5
EPSS 0.0003
EPSS Percentile 10.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N

Details

CWE
CWE-284 CWE-639
Status published
Products (3)
directus/directus < 11.17.0
monospace/directus < 11.17.0
npm/directus 0 - 11.17.0npm
Published Apr 09, 2026
Tracked Since Apr 09, 2026