All reports
High

Mautic is Vulnerable to SQL Injection through Contact Activity API Sorting

Affected versions

Composermautic/core
Affected versions
>= 2.10.0, < 5.2.10
Fixed version
5.2.10
Composermautic/core
Affected versions
>= 7.0.0-alpha, < 7.0.1
Fixed version
7.0.1
Composermautic/core
Affected versions
>= 6.0.0-alpha, < 6.0.8
Fixed version
6.0.8

Exploitation

CVE-2026-3105

Probability of exploitation in the next 30 days: 0.34%

FIRST EPSS · 2026-11-22

Description

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

Links

Credits

  • q1uf3ng
  • patrykgruszka
  • escopecz