Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-9559: Mautic 7: Malicious Files Can Be Written to Sensitive System Directories
CVE-2026-9559
GHSA-6r9h-4h75-7q4x
Summary
A security issue exists in Mautic 7's campaign import feature. An attacker with permission to import campaigns can write malicious files to sensitive areas of the system, potentially allowing them to execute code on the server. To protect your system, update to the latest version of Mautic or restrict access to the campaign import feature.
What to do
- Update mautic core to version 7.1.2.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| composer | mautic | core |
>= 7.0.0, < 7.1.2 Fix: upgrade to 7.1.2
|
Original title
Mautic vulnerable to Path Traversal via Campaign Import
Original description
### 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](https://mautic.org/extended-long-term-support-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.
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](https://mautic.org/extended-long-term-support-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.
nvd CVSS3.1
9.9
Vulnerability type
CWE-22
Path Traversal
CWE-73
CWE-98
Improper Control of Filename for Include
Published: 2 Jul 2026 · Updated: 2 Jul 2026 · First seen: 29 May 2026