External Control of File Name or Path in Directus - CVE-2025-55746
Published: April 23, 2026
Directus
Detailed vulnerability description
The vulnerability allows a remote attacker to upload arbitrary files and modify existing files.
The vulnerability exists due to external control of file name or path in the /files endpoint and file update mechanism when handling file upload and update requests with a user-controlled filename_disk value. A remote attacker can send a specially crafted request to upload arbitrary files and modify existing files.
Exploitation requires knowledge of at least one existing file UUID to modify an existing file, and uploaded files may not appear in the Directus UI.