Home / Rangerstudio / Directus / CVE-2021-29641
CVE-2021-29641: is it exploited, and which versions of Rangerstudio Directus are affected and fixed?
CVE-2021-29641 is an unrestricted file upload vulnerability in Rangerstudio Directus. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: directus from 8.0.0 before 8.8.2 (NVD). Fixed in 8.8.2 (NVD). Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:59 UTC.
What is CVE-2021-29641?
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).
From the CVE record by mitre, last updated August 3, 2024, 22:11 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rangerstudio | directus | from 8.0.0 before 8.8.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:48 UTC.
How severe is CVE-2021-29641?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-29641 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.87% probability of exploitation activity in the next 30 days, percentile 92.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-434 Unrestricted Upload of File with Dangerous Type
Where are the vendor advisories and references?
- https://hub.docker.com/layers/directus/directus/v8.8.2-apache/images/sha256-d9898b6442b0150c3c377b50e706757f35d2d563bd82ddaf97f3ae4ba450a6e6?context=explore x_refsource_MISC
- 20210407 SEC Consult SA-20210407-0 :: Arbitrary File Upload and Bypassing .htaccess Rules in Monospace Directus Headless CMS mailing-list, x_refsource_FULLDISC
- https://sec-consult.com/de/vulnerability-lab/advisory/arbitrary-file-upload-and-bypassing-htaccess-rules-in-monospace-directus-headless-cms/ x_refsource_MISC
- https://sec-consult.com/vulnerability-lab/advisory/arbitrary-file-upload-and-bypassing-htaccess-rules-in-monospace-directus-headless-cms/ x_refsource_MISC
- http://packetstormsecurity.com/files/162118/Monospace-Directus-Headless-CMS-File-Upload-Rule-Bypass.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 30, 2021
- Published
- April 7, 2021, 21:31 UTC
- CVE record updated
- August 3, 2024, 22:11 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 03:48 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:59 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Directus?
- Feb 23, 2021CVE-2021-26595 Rangerstudio Directus: sensitive data stored in clear text
- Feb 23, 2021CVE-2021-26594 Rangerstudio Directus: privilege escalation (improper privilege management)
- Feb 23, 2021CVE-2021-26593 Rangerstudio Directus: information disclosure
- Feb 23, 2021CVE-2021-27583 Rangerstudio Directus: information disclosure through timing or responses
- May 5, 2018CVE-2018-10723 Rangerstudio Directus: hard-coded credentials
Questions about CVE-2021-29641
Is CVE-2021-29641 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 4.87% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rangerstudio Directus are affected by CVE-2021-29641?
directus from 8.0.0 before 8.8.2, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2021-29641?
8.8.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-29641?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-29641?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.