CVE-2026-39942

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*

History

14 Apr 2026, 17:36

Type Values Removed Values Added
First Time Monospace
Monospace directus
CPE cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*
References () https://github.com/directus/directus/releases/tag/v11.17.0 - () https://github.com/directus/directus/releases/tag/v11.17.0 - Product, Release Notes
References () https://github.com/directus/directus/security/advisories/GHSA-393c-p46r-7c95 - () https://github.com/directus/directus/security/advisories/GHSA-393c-p46r-7c95 - Mitigation, Vendor Advisory

09 Apr 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-09 17:16

Updated : 2026-04-14 17:36


NVD link : CVE-2026-39942

Mitre link : CVE-2026-39942

CVE.ORG link : CVE-2026-39942


JSON object : View

Products Affected

monospace

  • directus
CWE
CWE-284

Improper Access Control

CWE-639

Authorization Bypass Through User-Controlled Key