CVE-2026-142071 PUBLISHED

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

Assigner: AISLE
Reserved: 02.12.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
CVSS Score: 7.1

Product Status

Vendor directus
Product directus
Versions Default: unaffected
  • affected from 10.13.0 to 12.1.0 (excl.)

Credits

  • Pavel Kohout (AISLE Research) finder

References

Problem Types

  • Authorization Bypass Through User-Controlled Key CWE