CVE-2024-47051 Remote Code Execution & File Deletion in Asset Uploads

Critical 9.1 Published Updated

Authenticated attackers can upload executable files for remote code execution or delete arbitrary files via path traversal in Mautic.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-47051?

CVE-2024-47051 is a critical vulnerability in mautic/core, published on 26 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-94, CWE-23

Which versions are affected by CVE-2024-47051?

2 open source packages ship an affected version, including mautic/core. It affects 1 product.

PackageAffectedFixed in
mautic/core PackagistAll versions5.2.3
mautic/core PackagistAll versions5.2.3

Products include Acquia Mautic.

How do I fix CVE-2024-47051?

Upgrade mautic/core to 5.2.3 or later.

Is CVE-2024-47051 being exploited?

There is no known exploitation of CVE-2024-47051 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as GHSA-73gx-x7r9-77x2.

Is CVE-2024-47051 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free