PT-2026-165701
CVE-2026-142071
·
Published
2026-04-04
·
Updated
2026-12-02
Description by
CVSS 3.1
7.1
HighMetricsAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Name of the Vulnerable Software and Affected Versions
Directus versions 10.13.0 through 12.0.x
Description
The TUS resumable upload endpoint
/files/tus allows authenticated users with create and update permissions on directus files to overwrite arbitrary existing files by UUID. The issue occurs because the system verifies item-level access for the id upload metadata key but fails to perform the same check for the replace id key. This allows users to bypass row-level permission rules, such as those restricting users to updating only their own files. Consequently, an attacker can specify another user's file ID in the replace id variable to overwrite the stored contents and metadata of that file. Additionally, the system does not normalize or uniqueness-check the client-supplied filename disk variable. This can lead to permanent data loss of the original file and potential privilege escalation if administrative assets are replaced with malicious content.Recommendations
Update to version 12.1.0 or later.
As a temporary workaround, disable TUS uploads by setting
TUS ENABLED=false if resumable uploads are not required.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾