CVE-2025-55746CWE-434CWE-73

Directus allows unauthenticated file upload and file modification due to lacking input sanitization

Critical · published August 20, 2025

CVSS v3.1
9.3
EPSS
1%
Percentile
72.3
In the wild
Unconfirmed
What it is

🚨 An unauthenticated user can upload any file they want! The file update mechanism in Directus versions 10.8.0 to before 11.9.3 is like a vending machine that dispenses anything without checking your coins. 🔥 Imagine an open gallery where anyone can hang their artworks without any approval. You could have troll art next to masterpieces—an absolute mess that confuses and undermines the entire exhibit! This vulnerability could lead to malicious actors uploading harmful files that might not show up in the Directus UI, allowing them to manipulate your server’s content without any oversight. An attacker could effectively plant rogue files that could compromise your entire application, leading to absolute chaos.

Put simply

Imagine an open gallery where anyone can hang their artworks without any approval. You could have troll art next to masterpieces—an absolute mess that confuses and undermines the entire exhibit! This vulnerability allows unauthenticated users to modify existing files or upload new ones with arbitrary content and extensions, without any changes being reflected in the database metadata, severely undermining content integrity.

What to do

This vulnerability could lead to malicious actors uploading harmful files that might not show up in the Directus UI, allowing them to manipulate your server’s content without any oversight. An attacker could effectively plant rogue files that could compromise your entire application, leading to absolute chaos. Immediately upgrade to Directus version 11.9.3 or higher to patch this vulnerability. Conduct a security review of your Directus setup to ensure no unauthorized files have already been uploaded. Strengthen your API access controls to limit file updates to authenticated users only. You've got this! With these steps, you can secure your application and keep it safe from unwanted chaos. 🛡️

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.01400 · 72.3th percentile
Weaknesses
CWE-434 · Unrestricted Upload of File with Dangerous Type; CWE-73 · External Control of File Name or Path
Published
2025-08-20T17:58Z
EPSS history
Timeline
  • 20 AUG 17:58Z
    Directus allows unauthenticated file upload and file modification due to lacking input sanitization
    cvelistv5