Skip to main content

CVE-2026-9558 — Vulnerability in mautic/core — CVE Details

CRITICAL

Mautic has Server-Side Template Injection (SSTI) in Theme Templates

Published July 2, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.79%). Schedule for your next planned update.

Does your project use an affected mautic/core version?

Paste your composer.lock to check it for CVE-2026-9558 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

Summary

A Server-Side Template Injection (SSTI) vulnerability exists in Mautic's theme engine. The platform renders uploaded Twig templates without a sandbox or strict function restrictions. Authenticated users with permissions to create or upload themes can abuse this to execute arbitrary code.

Impact

An authenticated user with theme upload and creation privileges can bypass boundaries to execute arbitrary system commands on the hosting server (Remote Code Execution) or access restricted system files and configuration settings.

Patched Versions

This security issue has been addressed in the following releases:

  • 7.1.2
  • 6.0.9
  • 5.2.11

For users on Mautic 4.x, this fix is available in:

Mautic strongly recommend upgrading to a patched version immediately.

Workarounds

There are no official workarounds. To mitigate this vulnerability without upgrading, restrict theme upload and creation permissions (core:themes:create) to only highly trusted administrators.

Advisory Timeline

  • First published July 2, 2026 (147 days ago).
  • Last revised September 10, 2026 — 69 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update mautic/core to 5.2.11 or later
composer require "mautic/core:^5.2.11"
Composer
Update mautic/core to 7.1.2 or later
composer require "mautic/core:^7.1.2"
Composer
Update mautic/core to 6.0.9 or later
composer require "mautic/core:^6.0.9"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Packagist (1).

PackageFixed In
mautic/core Packagist · Affected: 1.3.0, 1.3.1, 1.4.0, 1.4.1 (+176 more)Range-based data available
mautic/core Packagist · Affected: 5.0.0, 5.0.1, 5.0.2, 5.0.3 (+14 more)5.2.11
mautic/core Packagist · Affected: 7.0.0, 7.0.1, 7.0.2, 7.1.0 (+2 more)7.1.2
mautic/core Packagist · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+5 more)6.0.9

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2026-9558?
Mautic has Server-Side Template Injection (SSTI) in Theme Templates. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2026-9558?
CVE-2026-9558 affects mautic/core. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-9558 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.79%
EPSS percentile: 52.8

This is an above-median EPSS score — 52.8% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-9fx4-7cmj-47vg

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock