CVE-2026-39942 Details
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.
A broken access control vulnerability exists in Directus versions prior to 11.17.0, specifically within the file management API. The issue arises in the PATCH /files/{id} endpoint, which accepts a user-controlled filename_disk parameter. This vulnerability allows authenticated users to overwrite files belonging to other users by manipulating the filename_disk value to match the storage path of the target file. Additionally, metadata fields such as uploaded_by can be altered to conceal the tampering. This issue could lead to unauthorized file overwrites, potential remote code execution, and data integrity compromises.
Users can update to Directus version 11.17.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/directus/directus/releases/tag/v11.17.0 | [email protected] | ProductRelease Notes |
| https://github.com/directus/directus/security/advisories/GHSA-393c-p46r-7c95 | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-284 | Improper Access Control | [email protected] |
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| monospace directus | < 11.17.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 14, 2026 | Initial Analysis | [email protected] |
| Apr 9, 2026 | New CVE Received | [email protected] |