CVE-2026-142071

7.1High

Published Dec 2, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite

7.1CVSS

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.

remediation — bash
$ npm install directus@latest

AI-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

Source: nvd.nist.gov/vuln/detail/CVE-2026-142071

More fully triaged vulnerabilities you may want to check next.