Security Resilience

CVE-2026-39942

Access Control in Monospace Directus ≤ 11.17.0

Published
09 April 2026
Modified
14 April 2026
Patch / advisory
CVSS Score v3.1 8.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
EPSS Score 0.0037 23th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-39942 is a high-severity Improper Access Control (CWE-284) vulnerability in Monospace Directus. Its CVSS base score is 8.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Databases (T1213.006); ranked at the 23th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-3 (Access Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-39942 affects Directus, a real-time API and app dashboard for managing SQL database content, in versions prior to 11.17.0. The vulnerability resides in the PATCH /files/{id} endpoint, which accepts a user-controlled filename_disk parameter. This allows an attacker to set the parameter to match the storage path of another user's file, enabling overwrite of that file's content. Additionally, metadata fields such as uploaded_by can be manipulated to obscure the tampering. The issue is associated with CWE-284 (Improper Access Control) and CWE-639 (Authorization Bypass Through User-Controlled Key), and carries a CVSS v3.1 base score of 8.5 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N).

An authenticated attacker with low privileges (PR:L) can exploit this vulnerability remotely over the network without user interaction. By crafting a PATCH request to /files/{id} with a malicious filename_disk value pointing to a target file's storage path, the attacker overwrites the victim's file content and alters associated metadata. This results in high integrity impact (I:H) across a compromised scope (S:C), with low confidentiality impact (C:L) and no availability impact (A:N), potentially leading to data tampering in multi-tenant environments.

The vulnerability is fixed in Directus version 11.17.0. Security practitioners should upgrade to this version or later. Additional details are available in the Directus security advisory at https://github.com/directus/directus/security/advisories/GHSA-393c-p46r-7c95 and the release notes at https://github.com/directus/directus/releases/tag/v11.17.0.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-6534Same product: Monospace Directus
CVE-2026-61836Same product: Monospace Directus
CVE-2024-39701Same product: Monospace Directus
CVE-2024-46990Same product: Monospace Directus
CVE-2023-28443Same product: Monospace Directus
CVE-2026-40866Shared CWE-284, CWE-639
CVE-2025-69727Shared CWE-284, CWE-639
CVE-2026-55234Shared CWE-284, CWE-639
CVE-2026-47399Shared CWE-284, CWE-639
CVE-2025-64516Shared CWE-284, CWE-639

Affected Assets

monospace
directus
≤ 11.17.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Directly enforces approved authorizations for logical access, stopping unauthorized actors from reaching resources.

Requiring explicit access-control decisions on each request blocks unauthorized key-driven access.

Enforces flow-control policies that restrict information movement between subjects and objects.

Documents duties and assigns access so that no single account can bypass intended restrictions.

Limits each account to the minimum privileges needed, reducing the chance of unauthorized access.

Defines account types, assigns/removes access, and reviews accounts to ensure only authorized actors can reach resources.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 full match
blocks

Enforcing authorization policy and least privilege directly blocks user-controlled key tampering that bypasses access checks.

PR.IR-01 mostly match
blocks

Logical access controls prevent unauthorized data access that results from missing authorization checks on object references.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

removes

A.8.3 mandates that access to information be restricted based on user identity and permissions, directly addressing the missing authorization check that defines CWE-639; when applied, it removes the vulnerability by requiring that such checks be implemented.

finds

Security testing explicitly validates authentication, access restriction, and cryptography functions, directly catching missing or incorrect access control checks before code reaches production.

blocks

Managing access rights includes ensuring users can only access their own records and not bypass authorization by altering identifiers.

finds

A.5.21 governs supply chain security requirements and validation processes, not the discovery of authorization bypass flaws in deployed code; it does not perform security testing or code analysis to find CWE-639 instances.

finds

Ongoing audits and performance reviews of suppliers detect and correct situations where access controls or privilege assignments are weaker than contractually required, limiting an attacker's ability to exploit improper access control in the supplier's environment.

finds

Periodic independent assessment of whether documented security objectives and controls are actually implemented and effective can surface missing or bypassed access-control decisions before they are exploited.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-284, a pillar-level weakness. Rules are authored against its narrower children: CWE-749, CWE-1220.

References