CVE-2026-39942

High

Description

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.

SeverityHigh
CVSS8.5
Exploit probability—
ProductMonospace Directus
PublishedApr 9, 2026
First seenApr 9, 2026

How to fix

Update
  • monospace directus11.17.0 or later
  • directus11.17.0 or later

Affected products

ProductAffected versionsFixed in
monospace directusv < 11.17.011.17.0
directusnpmv < 11.17.011.17.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.