CVE-2024-47051 — Vulnerability in mautic/core — CVE Details
Mautic allows Remote Code Execution and File Deletion in Asset Uploads
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.09%). Schedule for your next planned update.
Does your project use an affected mautic/core version?
Paste your composer.lock to check it for CVE-2024-47051 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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
Advisory Timeline
- First published February 26, 2025 (638 days ago).
- Last revised October 16, 2025 — 232 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "mautic/core:^5.2.3"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| mautic/core Packagist · Affected: 1.0.0, 1.0.0-beta, 1.0.0-beta2, 1.0.0-beta3 (+163 more) | 5.2.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-23
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
References
- https://github.com/mautic/mautic/security/advisories/GHSA-73gx-x7r9-77x2WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-47051ADVISORY
- https://github.com/mautic/mautic/commit/75bc488ce98b9c8ec01114984049fc1c42c0cae5WEB
- https://github.com/mautic/mauticPACKAGE
- https://owasp.org/www-community/attacks/Code_InjectionWEB
- https://owasp.org/www-community/attacks/Path_TraversalWEB
Frequently Asked Questions
- What is CVE-2024-47051?
- Mautic allows Remote Code Execution and File Deletion in Asset Uploads. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2024-47051?
- CVE-2024-47051 affects mautic/core. It has a 2.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-47051 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 82.2% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-13828CRITICAL
Mautic user without privileged access to the Marketplace can install and uninstall composer packages
- CVE-2020-35125CRITICAL
Mautic is vulnerable to XSS vulnerability
- CVE-2026-9559CRITICAL
Mautic vulnerable to Path Traversal via Campaign Import
- CVE-2026-9558CRITICAL
Mautic has Server-Side Template Injection (SSTI) in Theme Templates
- CVE-2026-63412CRITICAL
Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
- CVE-2026-63413CRITICAL
Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)