Skip to content

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

HighCVSS 7.1
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm directus(npm) >= 10.13.0, < 12.1.0 12.1.0 Fixed

Affected products

ProductAffected versionsFixed in
npm directus(npm) >= 10.13.0, < 12.1.0 12.1.0

References