Skip to main content

Directus EUVDEUVD-2026-20950

| CVE-2026-39942 HIGH
Improper Access Control (CWE-284)
2026-04-09 GitHub_M GHSA-393c-p46r-7c95
8.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Send PATCH request to /files/{id}
  3. Exploit
    Set filename_disk to target file path
  4. Execution
    Overwrite victim file content
  5. Impact
    Manipulate uploaded_by metadata to hide tampering

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Directus versions prior to 11.17.0. Attacker requires authenticated user access (PR:L). No victim interaction needed. Exploit via PATCH /files/{id} endpoint by setting filename_disk parameter to another user's file storage path to overwrite content and manipulate metadata.

Impact

CVSS 8.5 reflects high integrity impact via authenticated file overwriting across scope boundaries. Unauthenticated attackers cannot exploit this; requires valid user credentials. Blast radius depends on file system permissions and backup hygiene-metadata manipulation masks tampering. Priority: moderate-to-high for Directus deployments with sensitive shared file content and inadequate access controls.

Exploit ScenarioDerived

Authenticated attacker with PATCH permissions calls PATCH /files/{id} with crafted filename_disk parameter pointing to another user's stored file path, overwriting its content. Metadata fields (uploaded_by, modified_at) are simultaneously manipulated to conceal attribution. No public exploit identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 09, 2026

Authenticated file overwrite vulnerability in Directus < 11.17.0 allows low-privileged users to corrupt arbitrary files by manipulating the filename_disk parameter in PATCH /files/{id} requests. Attackers can overwrite other users' file content and forge metadata fields (e.g., uploaded_by) to hide evidence of tampering. Requires authenticated access (PR:L). Scope change (S:C) indicates potential cross-tenant impact. No public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to Directus 11.17.0 or later immediately. This version implements input validation on filename_disk to prevent path manipulation and enforces ownership checks before file operations. For systems unable to upgrade immediately, restrict access to the /files API endpoints via reverse proxy rules or disable file management functionality until patching is complete. Official security advisory with technical details: https://github.com/directus/directus/security/advisories/GHSA-393c-p46r-7c95. Release notes and upgrade instructions: https://github.com/directus/directus/releases/tag/v11.17.0. Verify file storage integrity post-patch if unauthorized access is suspected.

Affected VersionsENISA

directus < 11.17.0

Affected Packages

npm directus fix: 11.17.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Root cause is improper access control (CWE-284) in file update endpoint. The filename_disk parameter lacks path validation, permitting traversal to storage locations outside the authenticated user's scope. Metadata manipulation capabilities compound the integrity impact by enabling attribution forgery. Affects Directus API before v11.17.0 (cpe:2.3:a:directus:directus).

Know when Directus gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch released
Apr 09, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 09, 2026 - 16:07 nvd
HIGH 8.5

DescriptionGitHub Advisory

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 npm packages depend on directus (1 direct, 2 indirect)

Ecosystem-wide dependent count for version 11.17.0.

Executive ViewAI

Why It Matters

Directus versions below 11.17.0 contain an authenticated file overwrite vulnerability (CVSS 8.5) that allows low-privileged users to corrupt arbitrary files and manipulate metadata, creating risk of data integrity compromise and potential cross-tenant impact in multi-tenant deployments. Organizations using affected Directus instances face exposure to unauthorized file modification, evidence tampering, and possible lateral privilege escalation through metadata forgery.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement network access controls restricting PATCH /files/{id} requests to trusted administrative accounts only; (2) Enable and monitor audit logging for all file operations, specifically tracking filename_disk parameter changes and metadata field modifications; (3) Enforce file integrity monitoring on filesystem level to detect unauthorized overwrites; (4) Disable or restrict low-privilege user file upload/modification capabilities until patch availability; (5) In multi-tenant environments, implement strict tenant isolation validation on all file operations.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2018-10723 CRITICAL POC
9.8 May 05

Directus 6.4.9 has a hardcoded admin password for the Admin account because of an INSERT statement in api/schema.sql. Ra

CVE-2025-55746 CRITICAL POC
9.3 Aug 20

Directus is a real-time API and App dashboard for managing SQL database content. Rated critical severity (CVSS 9.3), thi

CVE-2026-126539 CRITICAL POC
9.2 Nov 11

Directus instances that expose the WebSocket REST interface in public authentication mode can be driven into a state whe

CVE-2021-29641 HIGH POC
8.8 Apr 07

Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-upload permissions incl

CVE-2021-26594 HIGH POC
8.8 Feb 23

In Directus 8.x through 8.8.1, an attacker can switch to the administrator role (via the PATCH method) without any contr

CVE-2025-30353 HIGH POC
8.6 Mar 26

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 8.6), this vu

CVE-2024-27295 HIGH POC
8.2 Mar 01

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 8.2), this vu

CVE-2024-39701 HIGH POC
7.7 Jul 08

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.7), this vu

CVE-2024-54151 HIGH POC
7.5 Dec 09

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2024-36128 HIGH POC
7.5 Jun 03

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2023-26492 HIGH POC
7.5 Mar 03

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2021-26593 HIGH POC
7.5 Feb 23

In Directus 8.x through 8.8.1, an attacker can see all users in the CMS using the API /users/{id}. Rated high severity (

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy