CVE-2026-115188 PUBLISHED

Assigner: Mautic
Reserved: 22.10.2026 Published: 26.10.2026 Updated: 26.10.2026

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.

Metrics

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

Product Status

Package Collection https://packagist.org
Package Name mautic/core
Versions Default: unaffected
  • affected from 7.0.0 to 7.2.2 (excl.)

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.

Credits

  • Moath Aloufi (@m0xath) finder
  • @iys8 finder
  • David Carliez (@DavidCarliez) finder
  • @Forrof finder
  • @sdrk3nD finder
  • @Hama1cco finder
  • Shinya Murakami (@4n86rakam1) finder
  • Calvin (@calbebop) finder
  • Patryk Gruszka (@patrykgruszka) remediation developer
  • John Linhart (@escopecz) remediation reviewer
  • Leuchtfeuer Digital Marketing (@Leuchtfeuer) sponsor

References

Problem Types

  • CWE-434 Unrestricted Upload of File with Dangerous Type CWE
  • CWE-94 Improper Control of Generation of Code ('Code Injection') CWE

Impacts

  • CAPEC-650 Upload a Web Shell to a Web Server