NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-3105: Mautic is Vulnerable to SQL Injection through Contact Activity API Sorting

highCVSS 3.1 7.6GHSA-r5j5-q42h-fc93

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.

Published Feb 25, 2026 · Updated Mar 4, 2026

Affected packages

mautic/core

Ecosystem
Composer (PHP)
Affected
>= 2.10.0, < 5.2.10
Fixed in
5.2.10
Check
composer show mautic/core

mautic/core

Ecosystem
Composer (PHP)
Affected
>= 6.0.0-alpha, < 6.0.8
Fixed in
6.0.8
Check
composer show mautic/core

mautic/core

Ecosystem
Composer (PHP)
Affected
>= 7.0.0-alpha, < 7.0.1
Fixed in
7.0.1
Check
composer show mautic/core

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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])

Credited to q1uf3ng, patrykgruszka, escopecz.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries