Mautic vulnerable to Path Traversal via Campaign Import
Critical severity. Published 2 July 2026. Update mautic/core to 7.1.2 or later: composer update mautic/core.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| mautic/core (opens in a new tab) | >= 7.0.0, < 7.1.2 | 7.1.2 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show mautic/core
composer auditAdvisory details
| Severity | CriticalCVSS 9.9 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-9559 (opens in a new tab) |
| GHSA | GHSA-6r9h-4h75-7q4x (opens in a new tab) |
| Weakness | CWE-22, CWE-73, CWE-98 |
What the advisory says
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
Source: GHSA-6r9h-4h75-7q4x (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- Mautic Focus component Vulnerable to SSRF (opens in a new tab) (medium, 2 July 2026)
- Mautic has SQL Injection in API Contact Filtering (high, 2 July 2026)
- Mautic has Server-Side Template Injection (SSTI) in Theme Templates (critical, 2 July 2026)
- Mautic has Stored Cross-Site Scripting (XSS) in Projects Component (high, 2 July 2026)
- Mautic has Stored Cross-Site Scripting (XSS) in Project Option Selector (opens in a new tab) (medium, 2 July 2026)