CVE-2026-3105: Mautic/core SQL Injection Vulnerability
HIGHCVE-2026-3105 is a HIGH (CVSS 7.6) sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Mautic/core libraries in the Packagist ecosystem. The issue involves mautic is vulnerable to sql injection through contact activity api sorting. Remediation is available by upgrading affected packages to version 5.2.10, 6.0.8, 7.0.1.
CVE-2026-3105 at a Glance
Security Impact
CVSS: 7.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L).
How to Fix CVE-2026-3105
To remediate this vulnerability, upgrade all affected Mautic/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade mautic/core to 5.2.10
Upgrade mautic/core to 6.0.8
Upgrade mautic/core to 7.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for mautic/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-3105, inspect your project dependencies for Mautic/core:
inspect dependencies for mautic/core
Analyze the terminal output to locate any version of Mautic/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.2.10), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Mautic/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-3105 Affected Mautic/core Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mautic/core
|
Packagist |
≥ 2.10.0
< 5.2.10
|
5.2.10
|
|
mautic/core
|
Packagist |
≥ 6.0.0-alpha
< 6.0.8
|
6.0.8
|
|
mautic/core
|
Packagist |
≥ 7.0.0-alpha
< 7.0.1
|
7.0.1
|
References
Frequently Asked Questions
What is CVE-2026-3105?
Which Mautic/core versions are affected?
What version fixes CVE-2026-3105?
Is mautic/core affected?
What is the CVSS score of CVE-2026-3105?
What CWE is associated with CVE-2026-3105?
How can I check Packagist dependencies for CVE-2026-3105?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r5j5-q42h-fc93",
"modified" : "2026-02-25T19:28:39Z",
"published" : "2026-02-25T19:28:39Z",
"aliases" : [ "CVE-2026-3105" ],
"summary" : "Mautic is Vulnerable to SQL Injection through Contact Activity API Sorting",
"details" : "### Summary\nThis advisory addresses a SQL Injection vulnerability in the API endpoint used for retrieving contact activities. A vulnerability exists in the query construction for the Contact Activity timeline where the parameter responsible for determining the sort direction was not strictly validated against an allowlist, potentially allowing authenticated users to inject arbitrary SQL commands via the API.\n\n### Mitigation\n\nPlease update to **5.2.10**, **6.0.8**, **7.0.1** or later.\n\n### Workarounds\n\nNone.\n\n### References\n\nIf there are any questions or comments about this advisory:\n\nEmail Mautic at [security@mautic.org](mailto:security@mautic.org)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "mautic/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.10.0"
}, {
"fixed" : "5.2.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mautic/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0-alpha"
}, {
"fixed" : "6.0.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mautic/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0-alpha"
}, {
"fixed" : "7.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mautic/mautic/security/advisories/GHSA-r5j5-q42h-fc93"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-3105"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mautic/mautic"
}, {
"type" : "WEB",
"url" : "https://github.com/mautic/mautic/releases/tag/5.2.10"
}, {
"type" : "WEB",
"url" : "https://github.com/mautic/mautic/releases/tag/6.0.8"
}, {
"type" : "WEB",
"url" : "https://github.com/mautic/mautic/releases/tag/7.0.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-25T19:28:39Z",
"nvd_published_at" : "2026-02-24T20:27:50Z"
}
}