CVE-2026-9559: Mautic vulnerable to Path Traversal via Campaign Import
Summary A path traversal vulnerability exists in the campaign import feature of Mautic 7. When extracting uploaded ZIP files during campaign imports, a flaw in the validation logic allows file paths to escape the intended temporary directories. Impact An authenticated user with campaign import privileges (campaign:imports:create) can write arbitrary PHP files to sensitive system directories.
Published Jul 2, 2026
Affected packages
mautic/core
- Ecosystem
- Composer (PHP)
- Affected
- >= 7.0.0, < 7.1.2
- Fixed in
- 7.1.2
- Check
composer show mautic/core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
A path traversal vulnerability exists in the campaign import feature of Mautic 7. When extracting uploaded ZIP files during campaign imports, a flaw in the validation logic allows file paths to escape the intended temporary directories.
Impact
An authenticated user with campaign import privileges (campaign:imports:create) can write arbitrary PHP files to sensitive system directories. An attacker can exploit this to overwrite critical internal configuration or cache components, resulting in Remote Code Execution (RCE) under the context of the web server user.
Patched Versions
This security issue has been addressed in the following release:
- 7.1.2
*Note: Mautic 6.x, 5.x, and 4.x branches are not affected by this vulnerability. For general security support regarding legacy Mautic 4 releases, please refer to the ELTS page.*
Workarounds
There are no official workarounds. To mitigate this risk without upgrading, revoke campaign import permissions (campaign:imports:create) from non-administrative users.
Credited to nglong05, f3nrir77, escopecz, patrykgruszka, LeuchtfeuerDigitalMarketing.
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) entriesCVE-2026-9558
Mautic has Server-Side Template Injection (SSTI) in Theme Templates
critical9.9No fixJul 2, 2026CVE-2025-13828
Mautic user without privileged access to the Marketplace can install and uninstall composer packages
critical9.0Dec 2, 2025CVE-2024-47051
Mautic allows Remote Code Execution and File Deletion in Asset Uploads
critical9.1Feb 26, 2025CVE-2020-35125
Mautic is vulnerable to XSS vulnerability
critical9.6May 15, 2024
