Home

Description

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

PUBLISHED Reserved 2026-05-26 | Published 2026-05-29 | Updated 2026-05-29 | Assigner Mautic




CRITICAL: 9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Problem types

CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-73 External Control of File Name or Path

CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Product status

Default status
unaffected

7.0.0 (semver) before 7.1.2
affected

Credits

Nguyễn Văn Long (@nglong05) finder

@f3nrir77 finder

John Linhart (@escopecz) remediation developer

Patryk Gruszka (@patrykgruszka) remediation reviewer

Leuchtfeuer Digital Marketing (@Leuchtfeuer) sponsor

References

github.com/...mautic/security/advisories/GHSA-6r9h-4h75-7q4x

cve.org (CVE-2026-9559)

nvd.nist.gov (CVE-2026-9559)

Download JSON