Cyber Posture

CVE-2026-39942

High

Published: 09 April 2026

Published
09 April 2026
Modified
14 April 2026
KEV Added
Patch
CVSS Score 8.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
EPSS Score 0.0003 10.2th percentile
Risk Priority 17 60% EPSS · 20% KEV · 20% CVSS

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 Exploit Public-Facing Application (T1190); ranked at the 10.2th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 AC-3 (Access Enforcement) and SI-10 (Information Input Validation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

AC-3 enforces approved authorizations for logical access to files, preventing authenticated users from overwriting other users' files via the user-controlled filename_disk parameter.

prevent

SI-10 validates user-supplied filename_disk inputs to ensure they correspond only to authorized file paths, blocking path manipulation that enables unauthorized overwrites.

prevent

AC-6 least privilege limits low-privilege (PR:L) users from performing high-impact cross-scope file overwrite operations despite authentication.

MITRE ATT&CK Enterprise TechniquesAI

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.001 Stored Data Manipulation Impact
Adversaries may insert, delete, or manipulate data at rest in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
Why these techniques?

Vulnerability in public-facing Directus API endpoint enables remote exploitation of the application (T1190); directly allows unauthorized overwrite of stored file content and metadata tampering (T1565.001).

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

NVD 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…

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.

Deeper analysisAI

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.

Details

CWE(s)

Affected Products

monospace
directus
≤ 11.17.0

CVEs Like This One

CVE-2026-35412Same product: Monospace Directus
CVE-2026-35409Same product: Monospace Directus
CVE-2026-35408Same product: Monospace Directus
CVE-2026-35442Same product: Monospace Directus
CVE-2025-30353Same product: Monospace Directus
CVE-2024-56889Shared CWE-284
CVE-2024-50689Shared CWE-639
CVE-2026-33702Shared CWE-639
CVE-2026-25758Shared CWE-284, CWE-639
CVE-2025-62166Shared CWE-284, CWE-639

References