CVE-2026-39942
High · 8.5CVSS
8.5
EPSS
0.4%
Published
Apr 9, 2026
CISA due date
—
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | directus | 0 | 11.17.0 |
Related vulnerabilities
- GHSA-393c-p46r-7c95 Directus: Path Traversal and Broken Access Control in File Management API Same vulnerability
- CVE-2026-39943 Directus is a real-time API and App dashboard for managing SQL database content. Also affects directus
- CVE-2026-35410 Directus is a real-time API and App dashboard for managing SQL database content. Also affects directus
- CVE-2026-35411 Directus is a real-time API and App dashboard for managing SQL database content. Also affects directus
- CVE-2026-35412 Directus is a real-time API and App dashboard for managing SQL database content. Also affects directus
- CVE-2026-35441 Directus is a real-time API and App dashboard for managing SQL database content. Also affects directus
- CVE-2026-35413 Directus is a real-time API and App dashboard for managing SQL database content. Also affects directus
- CVE-2026-35442 Directus is a real-time API and App dashboard for managing SQL database content. Also affects directus