BuzzPHP
LightDarkSystem

Mautic has SQL Injection in API Contact Filtering

High severity. Published 2 July 2026. Update mautic/core to the fixed version of your branch (5.2.11, 6.0.9, 7.1.2): composer update mautic/core.

Which versions are affected?

PackageAffected versionsFixed in
mautic/core (opens in a new tab)>= 2.6.0, <= 4.4.13 | >= 5.0.0, < 5.2.11 | >= 6.0.0, < 6.0.9 | >= 7.0.0, < 7.1.25.2.11, 6.0.9, 7.1.2

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show mautic/core
composer audit

Advisory details

SeverityHighCVSS 7.1
Published
Updated
CVECVE-2026-4776 (opens in a new tab)
GHSAGHSA-fcmw-wx57-9p75 (opens in a new tab)
WeaknessCWE-89

What the advisory says

Summary An SQL injection vulnerability exists in Mautic's API contact filtering mechanism. Due to insufficient recursive sanitization of nested query parameters, an authenticated API user can bypass input filtering and inject arbitrary SQL commands.

Impact An authenticated user with API access can exploit this vulnerability to execute arbitrary SQL queries against the underlying database. This allows unauthorized retrieval of sensitive database contents—including user credentials, system configurations, and personal identifiable information (PII) of contacts—bypassing standard data access permissions.

Source: GHSA-fcmw-wx57-9p75 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories