---
id: CVE-2026-9559
title: Mautic vulnerable to Path Traversal via Campaign Import
summary: Mautic vulnerable to Path Traversal via Campaign Import
severity: critical
cvss: 9.9
cwe:
  - CWE-22
  - CWE-73
  - CWE-98
vendor: mautic
product: mautic/core
ecosystem: composer
affected:
  - 'mautic/core >= 7.0.0, < 7.1.2'
patched:
  - mautic/core 7.1.2
published: '2026-07-02'
updated: '2026-07-02'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-6r9h-4h75-7q4x'
references:
  - url: 'https://github.com/mautic/mautic/security/advisories/GHSA-6r9h-4h75-7q4x'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-9559'
  - url: 'https://github.com/advisories/GHSA-6r9h-4h75-7q4x'
tags:
  - ghsa
  - composer
epss: 0.00583
epssPercentile: 0.46609
ingestedAt: '2026-07-02T20:42:45.854Z'
---

## Overview

### 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.

## Affected packages

- `mautic/core >= 7.0.0, < 7.1.2`

## Remediation

Upgrade to a patched release:

- `mautic/core 7.1.2`
