CVE-2026-142071: Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata

Published Dec 2, 2026
·
Updated

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 replaceid 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 filenamedisk. Authenticated users with create and update permissions on directusfiles can name another user's file id in replaceid to overwrite that file's stored contents and metadata on instances with TUSENABLED set.

Affected Software

1 affected component
Directus Directus>=10.13.0<12.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 12.1.0

Event History

Dec 2, 2026
CVE Published
via MITRE·11:47 AM
Data Sourced
via MITRE·11:47 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Instances running Directus versions from 10.13.0 before 12.1.0 are affected when TUS_ENABLED is set. The issue applies to deployments where users can create and update records in directus_files.

2

What access does an attacker need to overwrite another user's file?

The attacker must be authenticated and have create and update permissions on directus_files. They can supply another user's file ID through the TUS upload replace_id metadata field.

3

What can be changed through a successful exploit?

A successful upload can overwrite the targeted file's stored contents and metadata. The vulnerable completion handlers perform the rewrite through internal services without accountability.

4

What configuration condition should be checked during triage?

Check whether TUS_ENABLED is enabled and identify accounts or roles with both create and update permissions on directus_files. If either condition is absent, the described exploitation path is not available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203