Advisory

GHSA-fcmw-wx57-9p75

Also known as: CVE-2026-4776

Summary

Mautic has SQL Injection in API Contact Filtering

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-07-02 19:25 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

mautic/core

Packagist · All systems

Affected

  • introduced 2.6.0, last affected 4.4.13 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

mautic/core

Packagist · All systems

Affected

  • introduced 5.0.0, fixed 5.2.11 (ecosystem)

Fixed versions

5.2.11

Fix

The export has no generic command for this ecosystem.

mautic/core

Packagist · All systems

Affected

  • introduced 6.0.0, fixed 6.0.9 (ecosystem)

Fixed versions

6.0.9

Fix

The export has no generic command for this ecosystem.

mautic/core

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.1.2 (ecosystem)

Fixed versions

7.1.2

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