# CVE-2026-4776: Mautic SQL injection in API contact filtering

Source: https://junglewise.ai/threats/cve-2026-4776-mautic-sql-injection-in-api-contact-filtering  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-29. Updated: 2026-07-02  
License: CC BY 4.0 with a link back

CVE-2026-4776 · Severity: high · CVSS 7.1 · Published 2026-05-29

Mautic, an open-source marketing automation platform, is affected by a security flaw in its API contact filtering system. An attacker with valid API credentials could bypass security filters to access sensitive information stored in the database, including customer personal data, system configurations, and user credentials. This could lead to significant data breaches and unauthorized access to the marketing platform's underlying infrastructure.

Technologies: [Mautic](https://junglewise.ai/threats/technologies/mautic), [mautic/core (Packagist)](https://junglewise.ai/threats/technologies/packagist-mautic-core). Vendors: [Mautic](https://junglewise.ai/threats/vendors/mautic), [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-4776 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-4776 being exploited in the wild.

**How severe is CVE-2026-4776?** High severity, with a CVSS score of 7.1, published 29 May 2026.

**Which products and versions are affected?** Mautic >= 2.6.0, < 4.4.20; >= 5.0.0, < 5.2.11; >= 6.0.0, < 6.0.9; >= 7.0.0, < 7.1.2, >= 2.6.0, <= 4.4.13; >= 5.0.0, < 5.2.11; >= 6.0.0, < 6.0.9; >= 7.0.0, < 7.1.2; mautic/core (Packagist) ECOSYSTEM:introduced=2.6.0,last_affected=4.4.13.

**Is there a fix for CVE-2026-4776?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-4776 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-4776?** Check whether you run Mautic or mautic/core (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A SQL injection vulnerability (CWE-89) exists in Mautic's API contact filtering mechanism. The root cause is the insufficient recursive sanitization of nested query parameters, which allows an authenticated API user to bypass input filters. By crafting malicious nested queries, an attacker can inject and execute arbitrary SQL commands against the backend database. This enables unauthorized retrieval of sensitive data, including PII and system credentials. The issue is resolved in versions 7.1.2, 6.0.9, 5.2.11, and 4.4.20 (ELTS).

## Affected products

- Mautic core >= 2.6.0, <= 4.4.13; >= 5.0.0, < 5.2.11; >= 6.0.0, < 6.0.9; >= 7.0.0, < 7.1.2

## Identifiers

- CVE-2026-4776
- GHSA-fcmw-wx57-9p75

## Timeline

- 2026-05-29: disclosed: NVD publication date
- 2026-07-02: advisory: GitHub Advisory published

## References

- [https://api.github.com/users/Senku01](https://api.github.com/users/Senku01)
- [https://github.com/Senku01](https://github.com/Senku01)
- [https://api.github.com/users/Senku01/gists%7B/gist_id%7D](https://api.github.com/users/Senku01/gists%7B/gist_id%7D)
- [https://api.github.com/users/Senku01/repos](https://api.github.com/users/Senku01/repos)
- [https://avatars.githubusercontent.com/u/60399486?v=4](https://avatars.githubusercontent.com/u/60399486?v=4)
- [https://api.github.com/users/Senku01/events%7B/privacy%7D](https://api.github.com/users/Senku01/events%7B/privacy%7D)

## Related threats

- [Mautic open redirect in form submission endpoint](https://junglewise.ai/threats/cve-2026-115196-an-open-redirect-vulnerability-exists-in-the-public-form)
- [Mautic Stats API broken access control in permission enforcement](https://junglewise.ai/threats/cve-2026-115195-a-broken-access-control-vulnerability-exists-in-the-mautic-stats)
- [Mautic stored XSS in HTML-type custom contact fields](https://junglewise.ai/threats/cve-2026-115193-a-stored-cross-site-scripting-xss-vulnerability-exists-in-the)
- [Mautic SQL injection in dashboard widget API](https://junglewise.ai/threats/cve-2026-115192-an-sql-injection-vulnerability-exists-in-the-dashboard-widget)
- [Mautic SQL injection in contact lookup AJAX endpoint](https://junglewise.ai/threats/cve-2026-115191-a-sql-injection-vulnerability-exists-in-a-contact-lookup-ajax)
