All reports
High

Mautic has SQL Injection in API Contact Filtering

Affected versions

Composermautic/core
Affected versions
>= 7.0.0, < 7.1.2
Fixed version
7.1.2
Composermautic/core
Affected versions
>= 5.0.0, < 5.2.11
Fixed version
5.2.11
Composermautic/core
Affected versions
>= 6.0.0, < 6.0.9
Fixed version
6.0.9
Composermautic/core
Affected versions
>= 2.6.0, <= 4.4.13
Fixed version
Not reported

Exploitation

CVE-2026-4776

Probability of exploitation in the next 30 days: 0.22%

FIRST EPSS · 2026-11-24

Description

Summary

An SQL injection vulnerability exists in Mautic's API contact filtering mechanism. Due to insufficient recursive sanitization of nested query parameters, an authenticated API user can bypass input filtering and inject arbitrary SQL commands.

Impact

An authenticated user with API access can exploit this vulnerability to execute arbitrary SQL queries against the underlying database. This allows unauthorized retrieval of sensitive database contents—including user credentials, system configurations, and personal identifiable information (PII) of contacts—bypassing standard data access permissions.

Patched Versions

This security issue has been fixed in the following releases:

  • 7.1.2

  • 6.0.9

  • 5.2.11

  • 4.4.20 ELTS

We strongly recommend upgrading to the latest version corresponding to your release branch.

Workarounds

There are no official workarounds. To mitigate this issue without upgrading, you may temporarily disable API access or restrict API permissions to highly trusted accounts.

Links

Credits

  • Senku01
  • Harish4948
  • patrykgruszka
  • LeuchtfeuerDigitalMarketing