### 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.
Update mautic/core to 7.1.2; mautic/core to 6.0.9; mautic/core to 5.2.11 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanMautic has SQL Injection in API Contact Filtering affects mautic/core (composer), mautic/core (composer), mautic/core (composer), mautic/core (composer). Severity is high. ### 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.
AI coding agents often install or upgrade packages automatically in composer. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
### 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.
Update mautic/core to 7.1.2; mautic/core to 6.0.9; mautic/core to 5.2.11 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanMautic has SQL Injection in API Contact Filtering affects mautic/core (composer), mautic/core (composer), mautic/core (composer), mautic/core (composer). Severity is high. ### 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.
AI coding agents often install or upgrade packages automatically in composer. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|
| mautic/corecomposer | >=7.0.0,<7.1.2 | 7.1.2 |
|---|---|---|
| mautic/corecomposer | >=2.6.0,<=4.4.13 | Not reported |
| mautic/corecomposer | >=6.0.0,<6.0.9 | 6.0.9 |
| mautic/corecomposer | >=5.0.0,<5.2.11 | 5.2.11 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard| Package | Affected range | Fixed version |
|---|
| mautic/corecomposer | >=7.0.0,<7.1.2 | 7.1.2 |
|---|---|---|
| mautic/corecomposer | >=2.6.0,<=4.4.13 | Not reported |
| mautic/corecomposer | >=6.0.0,<6.0.9 | 6.0.9 |
| mautic/corecomposer | >=5.0.0,<5.2.11 | 5.2.11 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard