Mautic has SQL Injection in API Contact Filtering
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.
Patched Versions
This security issue has been fixed in the following releases:
- 7.1.2
- 6.0.9
- 5.2.11
- 4.4.20 ELTS
We strongly recommend upgrading to the latest version corresponding to your release branch.
Workarounds
There are no official workarounds. To mitigate this issue without upgrading, you may temporarily disable API access or restrict API permissions to highly trusted accounts.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | mautic/core | >= 2.6.0, <= 4.4.13, >= 5.0.0, < 5.2.11, >= 6.0.0, < 6.0.9, >= 7.0.0, < 7.1.2 | 5.2.11, 6.0.9, 7.1.2 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L- Weakness (CWE)
CWE-89- Platform
- Composer
- Package
mautic/core- Disclosed
- 02.07.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-fcmw-wx57-9p75 - CC BY 4.0
Vulnerability history: mautic/core
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 57
- First → latest
- 01.2021 07.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 9
- High 17
- Medium 29
- Low 2
Disclosures per year
- 2021: 16
- 2022: 7
- 2023: 0
- 2024: 13
- 2025: 13
- 2026: 8
-
Mautic has SQL Injection in API Contact Filtering this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.