What’s Vulnerable › Vulnerabilities
CVE-2021-27916: Relative Path Traversal / Arbitrary File Deletion in Mautic (GrapesJS Builder)
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-17 · updated 2026-06-17
- Weakness: CWE-22
Description
Prior to the patched version, logged in users of Mautic are vulnerable to Relative Path Traversal/Arbitrary File Deletion. Regardless of the level of access the Mautic user had, they could delete files other than those in the media folders such as system files, libraries or other important files. This vulnerability exists in the implementation of the GrapesJS builder in Mautic.
Affected products
- Mautic: from 3.3.0 before 4.4.12; from 5.0.0 before 5.0.4 — fixed in 4.4.12, 5.0.4
How to fix
Upgrade to a fixed version: Mautic 4.4.12, 5.0.4. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2021-27916 or the next vulnerability affects your stack