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.
EPSS: 0.002 (10.6th percentile) — read the EPSS interpretation.
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.
Affected products
- Directus — versions < 11.17.0
- Monospace Directus
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Mitigation, Vendor Advisory)
- security-advisories@github.com (Product, x_refsource_MISC, 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.