Description
An unrestricted file upload vulnerability exists in the campaign import feature of Mautic 7. When processing an uploaded campaign archive, the application copies the bundled asset files into a publicly accessible media directory without restricting their file names or types. An authenticated user with permission to create campaign imports can exploit this through the user interface or the API (/api/campaigns/import) to place arbitrary files, including server-side scripts, in the web root. Administrator privileges are not required. On web servers that honor per-directory configuration, such as the default Apache setup of the official Mautic Docker image, this leads to remote code execution with the privileges of the web server user, including access to the Mautic configuration, application secrets, and contact data.
Published: 2026-10-26
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: Remote Code Execution via Unrestricted File Upload
Action: Apply Workaround
AI Analysis

Impact

An unrestricted file upload vulnerability in the campaign import feature of Mautic allows an authenticated user with create campaign import permission to upload arbitrary files, including server‑side scripts, into the publicly accessible media directory. The application copies these files without validating names or types, enabling an attacker to place malicious payloads in the web root. Because the upload occurs through the user interface or the /api/campaigns/import endpoint, administrator privileges are not required. If the web server honours per‑directory configuration, the attacker can execute the uploaded script with the privileges of the web server user, thereby gaining access to the Mautic configuration, application secrets, and contact data.

Affected Systems

Mautic 7, the open‑source marketing automation platform. The vulnerability manifests in the campaign import functionality and accepts files through the campaign import API endpoint and UI for any user who has create import rights.

Risk and Exploitability

The CVSS base score of 9.9 classifies this flaw as critical, and the EPSS score is not available, indicating either a lack of data or a very low probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Attackers need only an authenticated session with campaign‑import create permission, which is not reserved for administrators, making the attack vector highly practical. Successful exploitation results in remote code execution and full read/write access to sensitive application data.

Generated by OpenCVE AI on October 26, 2026 at 15:54 UTC.

Remediation

Vendor Workaround

There are no official workarounds. To mitigate this vulnerability without upgrading, remove the campaign import create permission from all users who do not strictly need it and restrict it to trusted administrators, and configure the web server at server or virtual-host level, so that it cannot be overridden by files in the application directory, to deny script execution in the media/ directory.


OpenCVE Recommended Actions

  • Remove campaign import create permission from all users who do not strictly need it and restrict it to trusted administrators
  • Configure the web server at the server or virtual‑host level so that scripts cannot be executed from the media/ directory, preventing the uploaded files from running
  • Upgrade Mautic to the latest version or apply any available vendor patch that fixes the unrestricted upload flaw

Generated by OpenCVE AI on October 26, 2026 at 15:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Mautic
Mautic mautic
Vendors & Products Mautic
Mautic mautic

Mon, 26 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 26 Oct 2026 16:15:00 +0000

Type Values Removed Values Added
Title Unrestricted File Upload in Mautic 7 Campaign Import Enables Remote Code Execution

Mon, 26 Oct 2026 14:00:00 +0000

Type Values Removed Values Added
Description An unrestricted file upload vulnerability exists in the campaign import feature of Mautic 7. When processing an uploaded campaign archive, the application copies the bundled asset files into a publicly accessible media directory without restricting their file names or types. An authenticated user with permission to create campaign imports can exploit this through the user interface or the API (/api/campaigns/import) to place arbitrary files, including server-side scripts, in the web root. Administrator privileges are not required. On web servers that honor per-directory configuration, such as the default Apache setup of the official Mautic Docker image, this leads to remote code execution with the privileges of the web server user, including access to the Mautic configuration, application secrets, and contact data.
Weaknesses CWE-434
CWE-94
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Mautic

Published:

Updated: 2026-10-26T15:35:53.849Z

Reserved: 2026-10-22T06:39:08.913Z

Link: CVE-2026-115188

cve-icon Vulnrichment

Updated: 2026-10-26T15:34:11.407Z

cve-icon NVD

Status : Deferred

Published: 2026-10-26T14:16:30.047

Modified: 2026-10-26T16:17:16.027

Link: CVE-2026-115188

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T16:30:10Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')