SQL Injection Affecting mautic/core-lib package, versions >=2.6.0, <5.2.11>=6.0.0-alpha, <6.0.9>=7.0.0-alpha, <7.1.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MAUTICCORELIB-17132583
  • published2 Jun 2026
  • disclosed29 May 2026
  • creditVignesh P, Harish P

Introduced: 29 May 2026

CVE-2026-4776  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade mautic/core-lib to version 5.2.11, 6.0.9, 7.1.2 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection via the API contact filtering due to insufficient recursive sanitization of nested query parameters. An attacker can execute arbitrary SQL commands and potentially access sensitive data or disrupt database integrity by sending specially crafted API requests as an authenticated user.

Workaround

This vulnerability can be mitigated by temporarily disabling API access or restricting API permissions to highly trusted accounts.

CVSS Base Scores

version 4.0
version 3.1