CVE-2022-25773: Mautic allows Relative Path Traversal in assets file upload
Summary This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server. Improper Limitation of a Pathname to a Restricted Directory: A vulnerability exists in the asset upload functionality that allows users to upload files to directories outside of the intended temporary directory. Mitigation Please update to 5.2.3 or later.
Published Feb 26, 2025 · Updated Oct 16, 2025
Affected packages
mautic/core
- Ecosystem
- Composer (PHP)
- Affected
- < 5.2.3
- Fixed in
- 5.2.3
- Check
composer show mautic/core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server.
- Improper Limitation of a Pathname to a Restricted Directory: A vulnerability exists in the asset upload functionality that allows users to upload files to directories outside of the intended temporary directory.
Mitigation
Please update to 5.2.3 or later.
Workarounds
None
References
If you have any questions or comments about this advisory:
Email us at [[email protected]](mailto:[email protected])
Credited to patrykgruszka, majkelstick, escopecz.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-4776
Mautic has SQL Injection in API Contact Filtering
high7.1No fixJul 2, 2026CVE-2026-9557
Mautic Focus component Vulnerable to SSRF
medium6.4No fixJul 2, 2026CVE-2026-9558
Mautic has Server-Side Template Injection (SSTI) in Theme Templates
critical9.9No fixJul 2, 2026CVE-2026-9559
Mautic vulnerable to Path Traversal via Campaign Import
critical9.9Jul 2, 2026CVE-2026-9808
Mautic has an Authorization Bypass in API v2 Endpoints
high7.1Jul 2, 2026CVE-2026-9809
Mautic has Stored Cross-Site Scripting (XSS) in Projects Component
high7.6Jul 2, 2026
