Directus has a Path Traversal and Broken Access Control in File Management API
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass, Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-284 and CWE-915.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| directus | directus | before 11.17.0 | 11.17.0 | Patch available | CNA |
| — | directus (npm) | before 11.17.0 | 11.17.0 | Patch available | GHSA-393c-p46r-7c95 |
- directus Vendordirectus Affected before 11.17.0 Fixed in 11.17.0 Patch available CNA
- directus (npm) Vendor— Affected before 11.17.0 Fixed in 11.17.0 Patch available GHSA-393c-p46r-7c95
Remediation
- Fix · CNA directus (directus) Fixed in 11.17.0
- Fix · GHSA-393c-p46r-7c95 directus (npm) Fixed in 11.17.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-39942
- 2026-10-03 Alias added: GHSA-393c-p46r-7c95
References
More Directus vulnerabilities
- TI-2025-21659 Directus's webhook trigger flows can leak sensitive data CVSS 3.1HIGH 8.6
- TI-2024-36266 Directus allows unauthenticated access to WebSocket events and operations CVSS 3.1HIGH 7.5
- TI-2024-26791 Directus allows SSO User Enumeration CVSS 3.1HIGH 7.5
- TI-2024-23956 Directus is soft-locked by providing a string value to random string util CVSS 3.1HIGH 7.5
- TI-2024-26624 Directus Incorrectly handles _in` filter CVSS 3.1HIGH 7.7
- TI-2025-21658 Directus `search` query parameter allows enumeration of non permitted fields CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-39942 · CVE Program
- CVE-2026-39942 · NVD
- FIRST EPSS
- GHSA-393c-p46r-7c95 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences