Skip to main content

Mautic CVE-2026-71245

| EUVDEUVD-2026-53318 HIGH
SQL Injection (CWE-89)
2026-08-05 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c GHSA-rq57-g9hr-4f9r
7.1
CVSS 3.1 · Vendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid Mautic user credentials
  2. Delivery
    Authenticate and acquire session token
  3. Exploit
    Send crafted AJAX POST with SQL-injected field parameter
  4. Execution
    Bypass InputHelper::clean() sanitizer
  5. Persist
    Injected identifier executes in raw SQL query
  6. Impact
    Exfiltrate arbitrary database contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated Mautic session - any user account regardless of assigned role is sufficient, because getLeadIdsByFieldValueAction does not enforce the supplemental permission checks present in sibling actions of the same controller. The attacker must be able to send HTTP requests to the Mautic server's AJAX endpoint. No special non-default configuration is required; the vulnerable code path is active whenever the LeadBundle is loaded, which is the default Mautic installation state. Unauthenticated remote exploitation is not possible - a valid session cookie or equivalent credential is a hard prerequisite. The scope of database exposure is bounded by the privileges of the Mautic application's database user; if that user is restricted to SELECT on the leads schema only, write-based injection is not possible. Network reachability of the Mautic instance by the attacker is also required.

Impact

The provided CVSS 7.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N) accurately reflects the real-world risk profile. The network-accessible attack vector, low complexity, and low-privilege requirement mean any authenticated Mautic account - including a basic marketing-team user - can exploit this without assistance or special conditions. The high confidentiality impact is well-justified: SQL injection against the leads database can expose full lead PII, contact records, and potentially Mautic internal credentials depending on schema. The I:L rating may understate integrity risk if the Mautic database user holds write privileges, as injection could extend to INSERT or UPDATE operations - this should be verified with the vendor. No EPSS score was included in the intelligence package, so probabilistic exploitation likelihood cannot be quantified from available data. No CISA KEV listing and no confirmed public exploit code exist, reducing immediacy; however, the attack class (authenticated SQLi via identifier injection in a web application) is well-understood and requires no specialized tooling, meaning the exploitation barrier is low for anyone with database injection experience. This is a genuine priority for organizations where Mautic access is granted to partially-trusted users, contractors, or where accounts could be compromised via credential stuffing.

Exploit ScenarioDerived

An attacker with a low-privilege Mautic account (e.g., a marketing team member or a compromised credential) sends a crafted AJAX POST request to the getLeadIdsByFieldValueAction endpoint with a field parameter containing a SQL fragment such as id FROM leads WHERE 1=1 UNION SELECT email,password,3 FROM users--. Because InputHelper::clean() does not strip the spaces, keywords, or structural characters in this payload, the string is concatenated into the live SQL query as a column identifier, causing the database to return rows from the targeted table. No public exploit code has been confirmed, but the technique is a standard SQL UNION injection requiring no specialized tooling.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

SQL injection in Mautic's getLeadIdsByFieldValueAction endpoint allows any authenticated user to extract arbitrary database contents by supplying a malicious field parameter that is concatenated directly into a SQL query as an unvalidated column identifier. The flaw is rooted in Doctrine ORM's structural inability to parameterize SQL identifiers - the only sanitizer applied, InputHelper::clean(), HTML-entity-encodes quotes and angle brackets but leaves the spaces, parentheses, and SQL keywords needed for injection entirely intact. No public exploit code and no CISA KEV listing have been identified at time of analysis, but the low authentication barrier (any valid session) makes this a meaningful risk for organizations with untrusted or externally provisioned Mautic accounts.

RemediationAI

No vendor-released patched version has been identified at time of analysis - the only available reference is the upstream GitHub repository (https://github.com/mautic/mautic) with no linked advisory or tagged release. Organizations should monitor the Mautic GitHub repository and official security advisories for a patch. The correct permanent fix requires the Mautic development team to replace unsanitized column-name concatenation in LeadRepository::buildQueryForGetLeadsByFieldValue() with a strict whitelist check that validates the field parameter against an explicit list of valid lead column names before use in any SQL context. As an immediate compensating control, access to Mautic's AJAX routes can be restricted at the WAF or reverse-proxy layer to trusted IP ranges or known internal user segments - note this will degrade legitimate AJAX-dependent UI functionality for affected users. A WAF rule blocking requests where the field parameter contains spaces, parentheses, SQL keywords, or characters outside [a-zA-Z0-9_] can reduce exploitability with a low rate of false positives on well-formed field names. Additionally, auditing Mautic database user privileges to apply least-privilege (read-only where possible) limits the blast radius of any successful injection.

Affected VersionsENISA

Mautic 0

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Mautic is a PHP-based open-source marketing automation platform built on Symfony and Doctrine ORM (CWE-89: Improper Neutralization of Special Elements used in an SQL Command). The vulnerable code path is in LeadBundle/Controller/AjaxController.php inside getLeadIdsByFieldValueAction, which reads a field request parameter and passes it to LeadRepository::buildQueryForGetLeadsByFieldValue(). There, the identifier is assembled as $col = 'l.'.$field and concatenated directly into a raw SQL fragment. Doctrine's prepared-statement parameterization protects value placeholders but cannot protect SQL identifiers (column and table names) - those must be whitelisted by the application. Because InputHelper::clean() only HTML-encodes angle brackets and quote characters, it provides no defense against injection payloads that use spaces, parentheses, SQL keywords, or UNION-based constructs, all of which pass through unmodified. Unlike sibling actions in the same controller that enforce additional RBAC permission checks, this action requires only a valid authenticated session, broadening the potential attacker pool to any Mautic user regardless of role.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
vuln.today AI 7.1 HIGH

Network-accessible web endpoint exploitable by any authenticated session (PR:L); no complexity barriers; SQL injection yields high confidentiality and limited integrity impact with no availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c).

CVSS VectorVendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

Mautic's getLeadIdsByFieldValueAction (LeadBundle/Controller/AjaxController.php) reads a field parameter from the request, sanitizes it only with InputHelper::clean() (which HTML-entity-encodes quotes and angle brackets but does not restrict other characters), and passes it into LeadRepository::buildQueryForGetLeadsByFieldValue() where it is concatenated directly as a raw SQL column identifier ($col = 'l.'.$field) rather than being validated against a whitelist of real column names or passed as a bound parameter. Since Doctrine cannot parameterize identifiers, and the sanitizer does not block spaces, parentheses, or other SQL-relevant characters, an attacker can inject SQL via the field name itself. The action requires only a valid session (any authenticated user), unlike sibling actions in the same controller that carry additional permission checks.

Executive ViewAI

Why It Matters

Mautic's lead management API contains a SQL injection vulnerability (CVE-2026-71245, CVSS 7.1) that allows authenticated users to extract arbitrary database contents. Organizations with externally provisioned accounts or untrusted user bases face significant data breach risk, as attackers require only valid session credentials to exfiltrate entire customer and lead databases.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: WAF rules targeting SQL injection patterns in the field parameter; enforce multi-factor authentication on all Mautic accounts; implement database activity monitoring and alerting for suspicious query patterns; restrict user permissions to read-only access where operationally feasible; consider temporary disabling of the lead management API if business operations permit.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
popular open-source marketing automation platform, widely self-hosted
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy