Incorrect authorization in Directus - CVE-2026-35412
Published: April 23, 2026
Directus
Detailed vulnerability description
The vulnerability allows a remote user to overwrite arbitrary existing files.
The vulnerability exists due to incorrect authorization in the TUS resumable upload endpoint (/files/tus) when handling file replacement requests by UUID. A remote user can send a crafted TUS upload request to overwrite arbitrary existing files.
Row-level permission rules on specific files are bypassed through the TUS upload path, and the targeted file's metadata may also be modified.