Mautic is Vulnerable to SQL Injection through Contact Activity API Sorting
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 security@mautic.org
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | mautic/core | >= 2.10.0, < 5.2.10, >= 6.0.0-alpha, < 6.0.8, >= 7.0.0-alpha, < 7.0.1 | 5.2.10, 6.0.8, 7.0.1 |
References
- 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
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L- Weakness (CWE)
CWE-89- Platform
- Composer
- Package
mautic/core- Disclosed
- 25.02.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-r5j5-q42h-fc93 - 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 is Vulnerable to SQL Injection through Contact Activity API Sorting 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.