Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code…
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-434.
Summary
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rangerstudio:directus:*:*:*:*:*:*:*:* | 8.0.0 to before 8.8.2 | Vulnerable | Rangerstudio |
- cpe:2.3:a:rangerstudio:directus:*:*:*:*:*:*:*:* Versions 8.0.0 to before 8.8.2 Vulnerable ·Rangerstudio
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-29641
- 2026-10-03 Alias added: GHSA-cfr5-vjc2-p7gj
References
Exploit 4
- 20210407 SEC Consult SA-20210407-0 :: Arbitrary File Upload and Bypassing .htaccess Rules in Monospace Directus Headless CMS
- https://sec-consult.com/de/vulnerability-lab/advisory/arbitrary-file-upload-and-bypassing-htaccess-rules-in-monospace-directus-headless-cms/
- https://sec-consult.com/vulnerability-lab/advisory/arbitrary-file-upload-and-bypassing-htaccess-rules-in-monospace-directus-headless-cms/
- http://packetstormsecurity.com/files/162118/Monospace-Directus-Headless-CMS-File-Upload-Rule-Bypass.html
More Rangerstudio Directus vulnerabilities
- TI-2021-08315 In Directus 8.x through 8.8.1, an attacker can learn sensitive information such as the… CVSS 3.1MEDIUM 5.3
- TI-2018-07584 Directus 6.4.9 has a hardcoded admin password for the Admin account because of an INSERT statement in api/schema.sql. CVSS 3.0CRITICAL 9.8
- TI-2022-08627 Cross-site Scripting in Directus CVSS 3.1HIGH 8.8
- TI-2021-08314 In Directus 8.x through 8.8.1, an attacker can switch to the administrator role (via the… CVSS 3.1HIGH 8.8
- TI-2023-12202 HTML Injection in Password Reset email to custom Reset URL in directus CVSS 3.1HIGH 8.0
- TI-2021-08313 In Directus 8.x through 8.8.1, an attacker can see all users in the CMS using the API… CVSS 3.1HIGH 7.5
Sources
- CVE-2021-29641 · CVE Program
- CVE-2021-29641 · NVD
- FIRST EPSS
- GHSA-cfr5-vjc2-p7gj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences