GHSA-fcmw-wx57-9p75
Mautic has SQL Injection in API Contact Filtering
Quick fix
GHSA-fcmw-wx57-9p75 — mautic/core: upgrade to the fixed version with the command below.
composer require mautic/core:^5.2.11Details
### 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](https://mautic.org/extended-long-term-support-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.
Are you affected?
Enter the version of the package you're using.
Affected packages
2.6.0No fixed version published yet for mautic/core (composer). Pin to a known-safe version or switch to an alternative.