# Mautic vulnerable to Path Traversal via Campaign Import

Critical severity, published 2026-07-02. Update mautic/core to 7.1.2 or later: composer update mautic/core.

Canonical URL: https://buzzphp.com/security/ghsa-6r9h-4h75-7q4x · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical (CVSS 9.9) |
| Published | 2026-07-02 |
| Updated | 2026-07-02 |
| CVE | [CVE-2026-9559](https://nvd.nist.gov/vuln/detail/CVE-2026-9559) |
| GHSA | [GHSA-6r9h-4h75-7q4x](https://github.com/advisories/GHSA-6r9h-4h75-7q4x) |
| Weakness | CWE-22, CWE-73, CWE-98 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| mautic/core | >= 7.0.0, < 7.1.2 | 7.1.2 |

## What to do

Update mautic/core to 7.1.2 or later: composer update mautic/core.

Check which version you run with `composer show mautic/core`, and every affected package with `composer audit`.

## About this advisory

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



## Links

- [GHSA-6r9h-4h75-7q4x on GitHub](https://github.com/advisories/GHSA-6r9h-4h75-7q4x)
- [CVE-2026-9559 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-9559)
- [All Composer security advisories](https://buzzphp.com/security)
