# CVE-2021-27916: Relative Path Traversal / Arbitrary File Deletion in Mautic (GrapesJS Builder)

- Severity: High 8.1 (CVSS:3.1, scored by Mautic) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2024-04-12T17:07:12.000Z
- Modified: 2026-06-17T03:45:36.730Z
- Also known as: GHSA-9fcx-cv56-w58p
- Weaknesses: CWE-22, CWE-23
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mautic

## 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.

(As written by CVE List.)

## Affected

- mautic/core: from >= 3.3.0 up to <= 4.4.11; from >= 5.0.0 up to <= 5.0.3
- mautic/core (Packagist): from 3.3.0 before 4.4.12; from 5.0.0-alpha before 5.0.4
- acquia mautic: from 3.3.0 before 4.4.12; from 5.0.0 before 5.0.4

## Every score

- Mautic: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/mautic/mautic/security/advisories/GHSA-9fcx-cv56-w58p> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27916> (advisory)
- <https://github.com/mautic/mautic/commit/546045ff9c74dd8b3dac36c4ab3674380262c65a> (web)
- <https://github.com/mautic/mautic/commit/95e8df3ae6730c725f1848d70e7992da369518f3> (web)
- <https://github.com/mautic/mautic> (package)

## Sources

- CVE List: [CVE-2021-27916](https://www.cve.org/CVERecord?id=CVE-2021-27916), CVE Terms of Use, modified 2024-09-18
- GitHub Advisory Database: [GHSA-9fcx-cv56-w58p](https://github.com/advisories/GHSA-9fcx-cv56-w58p), CC-BY-4.0, modified 2024-10-02
- NVD: [CVE-2021-27916](https://nvd.nist.gov/vuln/detail/CVE-2021-27916), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-27916 · Whole record: https://cve.day/CVE-2021-27916.json · Rebuilt by cve.day 2026-11-25T22:58:08.959Z
