---
id: CVE-2026-115188
title: >-
  An unrestricted file upload vulnerability exists in the campaign import
  feature of Mautic 7
summary: >-
  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 …
severity: critical
cvss: 9.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-434
  - CWE-94
product: mautic/core
affected:
  - mautic/core >= 7.0.0 < 7.2.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-26T14:47:17.335563Z'
published: '2026-10-26'
updated: '2026-10-26'
sourceUpdated: '2026-10-26T15:35:53.849Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115188'
references:
  - url: 'https://github.com/mautic/mautic/security/advisories/GHSA-mxjf-pghx-h299'
tags:
  - cve.org
ingestedAt: '2026-10-26T14:27:31.838Z'
---

## Overview

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.

## Affected

- `mautic/core >= 7.0.0 < 7.2.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

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.
