CVE-2024-47051: Authenticated RCE via Asset Upload in Mautic
- Vendor
- Acquia
CVE-2024-47051 is a critical authenticated vulnerability in Mautic affecting versions before 5.2.3. The flaw is present in the asset upload functionality, where insufficient enforcement of allowed file extensions enables a user with authenticated access to bypass upload restrictions and place executable server-side files in a web-accessible location. This can allow arbitrary PHP code to be written within the web directory and subsequently executed by the server. The advisory also associates the issue with a path traversal condition in upload validation that can be abused during file deletion operations, allowing arbitrary file deletion on the host through improper handling of path components.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can lead to remote code execution on the Mautic hosting server in the context of the web application, enabling full compromise of the application and potentially broader host-level impact depending on deployment permissions. The associated path traversal file deletion issue can also allow an authenticated attacker to remove arbitrary files on the host system, which may cause service disruption, destroy application data, or facilitate further compromise by deleting security-relevant files or application components.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to asset upload functionality to only highly trusted authenticated users, disable or tightly control the ability to upload files, and prevent execution of uploaded content within web-accessible directories through web server configuration. Apply filesystem permissions that limit the application's ability to modify or delete sensitive host files outside designated upload paths. Monitor for anomalous uploads, unexpected executable content in asset locations, and suspicious file deletion activity.
Remediation
Patch, then assume compromise.
Upgrade Mautic to version 5.2.3 or later, which addresses the vulnerable upload and validation logic. Ensure upload handling strictly enforces an allowlist of non-executable file types and validates file extensions and related metadata server-side. Review and harden file deletion routines so that user-controlled path components cannot escape intended directories. After patching, inspect the web directory and uploaded assets for unauthorized executable content and review the host for unexpected file deletions or signs of post-exploitation.
Exploits
No validated public exploits yet. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2024-47051 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2024-47051 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-47051?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2024-47051.
- Is there a patch for CVE-2024-47051?
- Upgrade Mautic to version 5.2.3 or later, which addresses the vulnerable upload and validation logic. Ensure upload handling strictly enforces an allowlist of non-executable file types and validates file extensions and related metadata server-side.
- What products are affected by CVE-2024-47051?
- Acquia Mautic.
- How severe is CVE-2024-47051?
- CVE-2024-47051 has a CVSS v3.1 score of 9.9 (Critical) and an EPSS score of 2.0% (82nd percentile) as of Sep 25, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.