Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata
- CVE-2026-142071
- GHSA-w366-wg63-vpp9
- EUVD-2026-141235
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.
Text from the CVE.org record.
Recommendation
monospace directus
- If you run a version from 10.13.0 to before 12.1.0update to 12.1.0 or laterMajor version change: expect breaking changes
Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
monospace directus
Affected versions Fixed in from 10.13.0 to before 12.1.0 12.1.0
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.