freenode

← CVE tracker

CVE-2026-142071

Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata

Severity
high CVSS 7.1 (v3.1)
Affects
directus
Weakness
CWE-639: Authorization Bypass Through User-Controlled Key
Published
2 December 2026 by AISLE
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.