CVE-2024-47051: 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.
Published Feb 26, 2025 · Updated Oct 16, 2025
Affected packages
mautic/core
- Ecosystem
- Composer (PHP)
- Affected
- < 5.2.3
- Fixed in
- 5.2.3
- Check
composer show mautic/core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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 [[email protected]](mailto:[email protected])
Credited to mallo-m, patrykgruszka.
References
- https://github.com/mautic/mautic/security/advisories/GHSA-73gx-x7r9-77x2
- https://github.com/mautic/mautic/commit/75bc488ce98b9c8ec01114984049fc1c42c0cae5
- https://nvd.nist.gov/vuln/detail/CVE-2024-47051
- https://owasp.org/www-community/attacks/Code_Injection
- https://owasp.org/www-community/attacks/Path_Traversal
- https://github.com/advisories/GHSA-73gx-x7r9-77x2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-9558
Mautic has Server-Side Template Injection (SSTI) in Theme Templates
critical9.9No fixJul 2, 2026CVE-2026-9559
Mautic vulnerable to Path Traversal via Campaign Import
critical9.9Jul 2, 2026CVE-2025-13828
Mautic user without privileged access to the Marketplace can install and uninstall composer packages
critical9.0Dec 2, 2025CVE-2020-35125
Mautic is vulnerable to XSS vulnerability
critical9.6May 15, 2024
