CVE-2026-39942
HIGH 8.8CVSS 3.1Directus: Path Traversal and Broken Access Control in File Management API
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.
- Published
- 9 Apr 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-284CWE-639CWE-915
- Also known as
- GHSA-393c-p46r-7c95
- Sources
- NVDJSONOSV GHSA-393c-p46r-7c95JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | monospace | directuscpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:* |
< 11.17.0 | 11.17.0 |
| OSV | npm | directus | < 11.17.0 | 11.17.0 |
References
- https://github.com/directus/directus/releases/tag/v11.17.0 · Product, Release Notes, WEB
- https://github.com/directus/directus/security/advisories/GHSA-393c-p46r-7c95 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39942 · ADVISORY
- https://github.com/directus/directus · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 Apr 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Apr 2026)