CVE-2026-142071
7.1HighPublished Dec 2, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- High impact on integrity
- Weakness
- CWE-639
What an attacker gets
Authenticated attackers can overwrite arbitrary files and metadata on the server. This requires an account with create and update permissions on directus_files.
Root cause
The TUS upload endpoint fails to validate the replace_id parameter and does not sanitize the filename_disk input, allowing unauthorized file replacement.
Affected versions
Directus 10.13.0 through 12.0.x
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Fix & remediation
Upgrade to Directus 12.1.0 or later. If you cannot upgrade immediately, disable the TUS resumable upload feature by setting TUS_ENABLED to false in your environment configuration.
$ npm install directus@latestAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
Directus 10.13.0 before 12.1.0 contains an incomplete fix for CVE-2026-35412 where the TUS resumable upload endpoint checks item-level access for the id upload metadata key but not for the adjacent replace_id key, which the upload completion handlers use to rewrite the referenced file through internal services that run without accountability, and does not normalize or uniqueness-check a client-supplied filename_disk. Authenticated users with create and update permissions on directus_files can name another user's file id in replace_id to overwrite that file's stored contents and metadata on instances with TUS_ENABLED set.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1420708.2HighUnauthenticated remote attackers can modify iPXE boot configurations or the database schema. This allows them to hijack imaging clients by injecting malicious boot menu entries.
- CVE-2026-1420688.1HighAuthenticated attackers can delete arbitrary files and directories on storage nodes. This requires an active API account with access to the filedeletequeue.
- CVE-2026-1420658.8HighAttackers on the imaging network can execute arbitrary commands as root. They need to plant a malicious filename in a world-writable NFS export or supply a crafted image path.
- CVE-2026-1420647.1HighRemote attackers can delete arbitrary hosts, users, or images by luring an authenticated administrator to a malicious webpage. This requires the administrator to be logged into the FOG web interface.
- CVE-2026-1370047.2HighUnauthenticated attackers can inject malicious scripts into WordPress pages via the comment parameter. The script executes in the browser of any user who views the affected post.
- CVE-2026-1365987.2HighUnauthenticated attackers can inject malicious scripts into your site that execute in the browser of any user viewing the page. This requires an administrator to approve the malicious comment first.