NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-47051: Mautic allows Remote Code Execution and File Deletion in Asset Uploads

criticalCVSS 3.1 9.1GHSA-73gx-x7r9-77x2

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

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) entries