Auth bypass in Directus
CVE-2026-39942
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 · last modified .
CVSS v3 metric
CVSS v3 base score 8.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N.
EPSS exploit prediction
EPSS: 0.004 (27.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 27th percentile — 27.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.004 · change: +0.002
Affected products
- Directus — versions < 11.17.0
- Monospace Directus
Weakness classification (CWE)
References
- github.com/directus/directus/security/advisories/GHSA-393c-p46r-7c95 (Mitigation, Vendor Advisory)
- github.com/directus/directus/releases/tag/v11.17.0 (Product, Release Notes)
Frequently asked questions
- What is CVE-2026-39942?
- CVE-2026-39942 is a high-severity vulnerability in Directus, classified under Improper Access Control. CVSS score: 8.5/10. Published 2026-04-09.
- How severe is CVE-2026-39942?
- High severity. CVSS v3 base score is 8.5 out of 10.