GitHub Advisoryadvisory · Packagist

GHSA-6r9h-4h75-7q4x Mautic vulnerable to Path Traversal via Campaign Import

CRITICAL Published 2026-07-02 Modified 2026-07-02 Official page ↗
Aliases
CVE-2026-9559
Ecosystem
Packagist
Packages
mautic/core
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-22, CWE-73, CWE-98
Reviewed
2026-07-02

Affected packages

• Packagist mautic/core: >= 7.0.0, < 7.1.2 → fixed in 7.1.2

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 page.* Workarounds There are no official workarounds. To mitigate this risk without upgrading, revoke campaign import permissions (`campaign:imports:create`) from non-administrative users.

Related

Alias · CVE (1)

  • CVE-2026-9559 A path traversal vulnerability exists in the campaign import feature of Mautic 7. vulnerability

Weakness · CWE (3)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-73 External Control of File Name or Path weakness
  • CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program weakness

References