GHSA-r5j5-q42h-fc93
Mautic is Vulnerable to SQL Injection through Contact Activity API Sorting
Quick fix
GHSA-r5j5-q42h-fc93 — mautic/core: upgrade to the fixed version with the command below.
composer require mautic/core:^5.2.10Details
### 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](mailto:security@mautic.org)
Are you affected?
Enter the version of the package you're using.
Affected packages
6.0.0-alphaFixed in: 6.0.8composer require mautic/core:^6.0.87.0.0-alphaFixed in: 7.0.1composer require mautic/core:^7.0.1References
- https://github.com/mautic/mautic/security/advisories/GHSA-r5j5-q42h-fc93[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-3105[ADVISORY]
- https://github.com/mautic/mautic[PACKAGE]
- https://github.com/mautic/mautic/releases/tag/5.2.10[WEB]
- https://github.com/mautic/mautic/releases/tag/6.0.8[WEB]
- https://github.com/mautic/mautic/releases/tag/7.0.1[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/mautic/core"]}'