CVE-2021-29641 Details
Description
Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-upload permissions include the ability to upload a .php file to the main upload directory and/or upload a .php file and a .htaccess file to a subdirectory. Exploitation succeeds only for certain installations with the Apache HTTP Server and the local-storage driver (e.g., when the product was obtained from hub.docker.com).
A vulnerability in Monospace Directus Headless CMS versions prior to 8.8.2 allows remote authenticated users to execute arbitrary code. This is achieved through a file upload vulnerability that permits the upload of PHP files to the main upload directory or to a subdirectory along with a .htaccess file. The issue is present in installations using the Apache HTTP Server and the local-storage driver, such as those obtained from hub.docker.com.
Users are advised to update Directus to version 8.8.2 or upgrade to version 9, which is not affected by this vulnerability. Instructions for updating to version 8.8.2 are available on the Directus Docker Hub page.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rangerstudio directus | >= 8.0.0, < 8.8.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 13, 2021 | Initial Analysis | [email protected] |
| Apr 8, 2021 | CVE Modified | [email protected] |