Skip to content
OpenAdvisories
High · 8.5 CVE-2026-39942 EUVD-2026-20950GHSA-393c-p46r-7c95

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

Published Apr 9, 2026 · Updated Apr 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
directus directus < 11.17.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm directus < 11.17.0 11.17.0 GHSA-393c-p46r-7c95

References