Mautic allows Remote Code Execution and File Deletion in Asset Uploads
Summary
This advisory addresses two critical security vulnerabilities present in Mautic versions before 5.2.3. These vulnerabilities could be exploited by authenticated users.
-
Remote Code Execution (RCE) via Asset Upload: A Remote Code Execution vulnerability has been identified in the asset upload functionality. Insufficient enforcement of allowed file extensions allows an attacker to bypass restrictions and upload executable files, such as PHP scripts.
-
Path Traversal File Deletion: A Path Traversal vulnerability exists in the upload validation process. Due to improper handling of path components, an authenticated user can manipulate the file deletion process to delete arbitrary files on the host system.
Mitigation
Please update to 5.2.3 or later.
Workarounds
None
References
https://owasp.org/www-community/attacks/Code_Injection https://owasp.org/www-community/attacks/Path_Traversal
If you have any questions or comments about this advisory:
Email us at security@mautic.org
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | mautic/core | < 5.2.3 | 5.2.3 |
References
- https://github.com/mautic/mautic/security/advisories/GHSA-73gx-x7r9-77x2
- https://nvd.nist.gov/vuln/detail/CVE-2024-47051
- https://github.com/mautic/mautic/commit/75bc488ce98b9c8ec01114984049fc1c42c0cae5
- https://github.com/mautic/mautic
- https://owasp.org/www-community/attacks/Code_Injection
- https://owasp.org/www-community/attacks/Path_Traversal
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L- Weakness (CWE)
CWE-23, CWE-94- Platform
- Composer
- Package
mautic/core- Disclosed
- 26.02.2025
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-73gx-x7r9-77x2 - CC BY 4.0
Vulnerability history: mautic/core
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 57
- First → latest
- 01.2021 07.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 9
- High 17
- Medium 29
- Low 2
Disclosures per year
- 2021: 16
- 2022: 7
- 2023: 0
- 2024: 13
- 2025: 13
- 2026: 8
-
Mautic allows Remote Code Execution and File Deletion in Asset Uploads this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.