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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/directus/directus/security/advisories/GHSA-393c-p46r-7c95 mitigation vendor-advisory
- https://github.com/directus/directus/releases/tag/v11.17.0 product release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product