CVE-2026-44168: MariaDB Server Command Injection via SST Joiner Parameters
MariaDB Server has a command injection vulnerability in its data replication process. When a database node joins a cluster using the mariabackup method, the existing node (donor) improperly validates parameters sent by the joining node. A malicious actor with high-level database access could craft malicious parameters to execute arbitrary commands on the donor's server. This affects multiple recent MariaDB versions across the 10.6, 10.11, 11.4, 11.8, and 12.3 release branches.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.0 HIGH · CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-78
- Affected products
- 2 configuration(s)
- Published / Modified
- 2026-06-12 / 2026-07-15
NVD description (verbatim)
MariaDB server is a community developed fork of MySQL server. From versions 10.6.1 to before 10.6.26, 10.11.1 to before 10.11.17, 11.4.1 to before 11.4.11, 11.8.1 to before 11.8.7, and 12.3.1, during the SST the donor node is interpolating parameters that the joiner sent into the command line. Not all parameters were properly validated which could allow a malicious joiner to execute arbitrary shell commands on the donor side via the mariabackup SST method. This issue has been patched in versions 10.6.26, 10.11.17, 11.4.11, 11.8.7, and 12.3.2.
12 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
During State Snapshot Transfer (SST) via mariabackup, the donor node constructs and executes shell commands that incorporate parameters supplied by the joiner without sufficient sanitization. The vulnerability stems from inadequate input validation of joiner-supplied parameters before they are interpolated into command-line arguments. An attacker with high privileges on a joiner node can inject shell metacharacters to break out of intended command boundaries and execute arbitrary shell commands with the privileges of the MariaDB process on the donor system. This is classified as a classic OS command injection vulnerability (CWE-78).
Business impact
Successful exploitation could compromise the integrity and availability of donor database nodes during replication operations. An attacker gaining code execution on a donor server could steal sensitive data, modify database contents, install persistence mechanisms, or disrupt cluster operations. Organizations relying on MariaDB clustering for mission-critical databases face significant risk if SST operations involve untrusted or compromised joiner nodes. Patch deployment is essential before performing any cluster expansion or recovery operations.
Affected systems
MariaDB Server versions 10.6.1 through 10.6.25, 10.11.1 through 10.11.16, 11.4.1 through 11.4.10, 11.8.1 through 11.8.6, and 12.3.1 are vulnerable. Patched versions are 10.6.26, 10.11.17, 11.4.11, 11.8.7, and 12.3.2. The vulnerability only affects deployments using the mariabackup SST method for cluster node synchronization.
Exploitability
Exploitation requires high-privilege database access to the joiner node attempting to join the cluster—a significant access prerequisite. However, the attack surface widens in environments where multiple database administrators, third-party tools, or containerized instances have elevated privileges. The network requirement (N) and high attack complexity (H) moderate the risk somewhat, but the high CVSS score (8.0) reflects the severe potential impact: complete compromise of the donor node across cluster boundaries.
Remediation
Upgrade MariaDB Server to patched versions immediately: 10.6.26 or later, 10.11.17 or later, 11.4.11 or later, 11.8.7 or later, or 12.3.2 or later, depending on your current branch. Before upgrading, audit which nodes in your cluster have high-privilege access and review SST operational procedures. Consider temporarily restricting cluster expansion operations until patches are deployed.
Patch guidance
Apply vendor patches according to your MariaDB version branch. Verify patch installation by checking the version output from MariaDB command line (SELECT VERSION();) and cross-reference against the patched version numbers provided by MariaDB. Test patches in a non-production environment first, particularly if your cluster uses mariabackup for regular backups or disaster recovery. Plan patching to minimize cluster disruption; patching one node at a time in a multi-node cluster is recommended.
Detection guidance
Monitor MariaDB process creation and shell command execution logs for unexpected child processes spawned from the MariaDB daemon, particularly during SST operations. Audit mariabackup invocations and their command-line arguments in system logs. Implement network-level monitoring for unusual SST traffic patterns. Review database access logs for privilege escalation or unusual joiner node registrations. Alert on any shell metacharacters (such as pipes, semicolons, or backticks) appearing in SST parameter logs.
Why prioritize this
HIGH priority for any organization running MariaDB with clustering enabled. The vulnerability combines high impact (full code execution on database servers) with a realistic threat model (insider threats or compromised cluster nodes). While the CVSS Access Vector is 'H' (high privileges required), databases are frequent targets; this should not be deprioritized relative to network-accessible vulnerabilities.
Risk score, explained
CVSS 3.1 score of 8.0 (HIGH) reflects: Network-accessible attack surface (AV:N), high attack complexity due to privilege requirements (AC:H), high-privilege prerequisite (PR:H), scope change across the database system boundary (S:C), and complete confidentiality, integrity, and availability impact (C:H/I:H/A:H). The score appropriately weights the severe consequences against the access barrier.
Frequently asked questions
What is SST and mariabackup in MariaDB?
State Snapshot Transfer (SST) is the process MariaDB uses to synchronize a new or recovering cluster node with an existing node (donor). Mariabackup is a backup tool that MariaDB can use as the SST method to transfer consistent snapshots. During SST, the donor and joiner nodes exchange parameters—this vulnerability lies in how the donor validates those parameters.
Do we need to perform SST operations for the patch to take effect?
No. You can deploy patched MariaDB versions without immediately triggering SST. However, any SST operation (cluster expansion, node recovery, or backup restoration) performed with unpatched versions remains vulnerable. It is prudent to patch before any planned SST activity.
Can this vulnerability be exploited if our cluster is air-gapped or internal-only?
The attack requires high-privilege database access on the joiner node. If your cluster is isolated to trusted administrators and systems, the risk is lower but not zero. Insider threats and compromised administrative tools remain real risks. Patching is still strongly recommended.
Does this affect MariaDB installations that do not use clustering?
This vulnerability is specific to SST operations during cluster node synchronization. Single-node MariaDB installations are not affected. However, organizations should verify their deployment architecture to confirm whether clustering features are in use.
This analysis is based on vendor advisory information and CVSS scoring as of the publication date. Organizations should verify patch availability and compatibility with their specific MariaDB deployment, database version, and operational procedures before applying updates. Test patches in non-production environments first. Consult official MariaDB documentation and your vendor support team for environment-specific guidance. SEC.co makes no warranty regarding patch effectiveness or compatibility in your specific deployment. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-48163HIGHMariaDB RST Command Injection – Remote Code Execution on Donor Nodes
- CVE-2026-48165HIGHMariaDB Galera wsrep Command Injection – Patching Guide
- CVE-2025-41265HIGHWaterfall WF-500 TX Host OS Command Injection (CVSS 7.2)
- CVE-2025-41266HIGHWaterfall WF-500 TX Host Command Injection Vulnerability Analysis
- CVE-2025-41267HIGHWaterfall WF-500 TX Host Command Injection Vulnerability
- CVE-2025-41279HIGHOS Command Injection in Waterfall WF-500 RX Host Administration WebUI
- CVE-2025-41281HIGHWaterfall WF-500 OS Command Injection
- CVE-2025-66273HIGHQNAP Command Injection in QTS and QuTS hero