Skip to content

CVE-2026-39942 Directus has a Path Traversal and Broken Access Control in File Management API

HighCVSS 8.8 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
monospace directus < 11.17.0 11.17.0 Fixed
npm directus(npm) < 11.17.0 11.17.0 Fixed
directus = < 11.17.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
directus = < 11.17.0 No fix listed
npm directus(npm) < 11.17.0 11.17.0
monospace directus < 11.17.0 11.17.0

References