CVE-2026-39942: Directus has a Path Traversal and Broken Access Control in File Management API

Published Apr 9, 2026
·
Updated

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 filenamedisk 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 uploadedby to obscure the tampering. This vulnerability is fixed in 11.17.0.

Affected Software

2 affected components
Directus Directus<11.17.0
Monospace Directus Node.js<11.17.0

Event History

Apr 9, 2026
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-39942?

CVE-2026-39942 is classified as a critical vulnerability due to its potential for arbitrary file access and exploitation.

2

How do I fix CVE-2026-39942?

To mitigate CVE-2026-39942, upgrade Directus to version 11.17.0 or later.

3

What is affected by CVE-2026-39942?

CVE-2026-39942 affects all versions of Directus prior to 11.17.0.

4

What are the implications of CVE-2026-39942 for users?

Users may experience unauthorized access to files, leading to data leakage or alteration.

5

Is there a workaround for CVE-2026-39942 if I cannot upgrade?

No official workarounds have been provided for CVE-2026-39942; upgrading is strongly recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203