GHSA-r5j5-q42h-fc93
Mautic is Vulnerable to SQL Injection through Contact Activity API Sorting
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | mautic/core | >= 2.10.0, < 5.2.10 | 5.2.10 |
| Packagist | mautic/core | >= 6.0.0-alpha, < 6.0.8 | 6.0.8 |
| Packagist | mautic/core | >= 7.0.0-alpha, < 7.0.1 | 7.0.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Summary
This advisory addresses a SQL Injection vulnerability in the API endpoint used for retrieving contact activities. A vulnerability exists in the query construction for the Contact Activity timeline where the parameter responsible for determining the sort direction was not strictly validated against an allowlist, potentially allowing authenticated users to inject arbitrary SQL commands via the API.
### Mitigation
Please update to **5.2.10**, **6.0.8**, **7.0.1** or later.
### Workarounds
None.
### References
If there are any questions or comments about this advisory:
Email Mautic at [[email protected]](mailto:[email protected])
References
External links from the advisory. They lead to third-party sites.
- https://github.com/mautic/mautic/security/advisories/GHSA-r5j5-q42h-fc93
- https://nvd.nist.gov/vuln/detail/CVE-2026-3105
- https://github.com/mautic/mautic
- https://github.com/mautic/mautic/releases/tag/5.2.10
- https://github.com/mautic/mautic/releases/tag/6.0.8
- https://github.com/mautic/mautic/releases/tag/7.0.1