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

CVE-2026-4776: Mautic has SQL Injection in API Contact Filtering

highCVSS 3.1 7.1GHSA-fcmw-wx57-9p75

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.

Published Jul 2, 2026

Affected packages

mautic/core

Ecosystem
Composer (PHP)
Affected
>= 2.6.0, <= 4.4.13
Fixed in
No patched version yet
Check
composer show mautic/core

mautic/core

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

mautic/core

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

mautic/core

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

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to Senku01, Harish4948, patrykgruszka, LeuchtfeuerDigitalMarketing.

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