CVE-2026-4776: SQL Injection
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/mautic/coreto a version that resolves this vulnerability.Fixed in 7.1.2 - Upgrade
Upgrade
composer/mautic/coreto a version that resolves this vulnerability.Fixed in 6.0.9 - Upgrade
Upgrade
composer/mautic/coreto a version that resolves this vulnerability.Fixed in 5.2.11 - Upgrade
Upgrade
Mauticto a version that resolves this vulnerability.Fixed in 4.4.20 - Upgrade
Upgrade
Mauticto a version that resolves this vulnerability.Fixed in 5.2.11 - Upgrade
Upgrade
Mauticto a version that resolves this vulnerability.Fixed in 6.0.9 - Upgrade
Upgrade
Mauticto a version that resolves this vulnerability.Fixed in 7.1.2 - Compensating control
Temporarily disable API access in Mautic or restrict API permissions to highly trusted accounts (workaround when not upgrading).
Event History
Frequently Asked Questions
What is the severity of CVE-2026-4776?
CVE-2026-4776 has a high severity rating of 7.1.
How do I fix CVE-2026-4776?
To fix CVE-2026-4776, update Mautic to the latest version that addresses the SQL injection vulnerability.
What kind of vulnerability is CVE-2026-4776?
CVE-2026-4776 is an SQL injection vulnerability within Mautic's API contact filtering mechanism.
Who is affected by CVE-2026-4776?
Authenticated API users of Mautic may be affected by CVE-2026-4776 due to the potential to inject arbitrary SQL commands.
What are the potential impacts of CVE-2026-4776?
The potential impacts of CVE-2026-4776 include unauthorized data access and manipulation due to the SQL injection.