BuzzPHP
LightDarkSystem

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?

PackageAffected versionsFixed in
mautic/core (opens in a new tab)>= 7.0.0, < 7.1.27.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 audit

Advisory details

SeverityCriticalCVSS 9.9
Published
Updated
CVECVE-2026-9559 (opens in a new tab)
GHSAGHSA-6r9h-4h75-7q4x (opens in a new tab)
WeaknessCWE-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

All Composer security advisories