Advisory

GHSA-r5j5-q42h-fc93

Also known as: CVE-2026-3105

Summary

Mautic is Vulnerable to SQL Injection through Contact Activity API Sorting

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-25 19:28 UTC
Modified
2026-02-25 19:41 UTC

Affected packages and fixes

mautic/core

Packagist · All systems

Affected

  • introduced 2.10.0, fixed 5.2.10 (ecosystem)

Fixed versions

5.2.10

Fix

The export has no generic command for this ecosystem.

mautic/core

Packagist · All systems

Affected

  • introduced 6.0.0-alpha, fixed 6.0.8 (ecosystem)

Fixed versions

6.0.8

Fix

The export has no generic command for this ecosystem.

mautic/core

Packagist · All systems

Affected

  • introduced 7.0.0-alpha, fixed 7.0.1 (ecosystem)

Fixed versions

7.0.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences