CVE-2026-48163: MariaDB RST Command Injection – Remote Code Execution on Donor Nodes
MariaDB servers are vulnerable to arbitrary command execution when two nodes communicate during a state transfer process (SST). An attacker who controls a newly joining node can trick the existing node into running malicious shell commands. This affects multiple MariaDB versions and relies on the rsync method for transferring data between nodes. The vulnerability requires administrative access to initiate the join process, but once exploited, it provides full control over the donor database server.
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.27, 10.11.1 to before 10.11.18, 11.4.1 to before 11.4.12, 11.8.1 to before 11.8.8, 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 rsync SST method. This issue has been patched in versions 10.6.27, 10.11.18, 11.4.12, 11.8.8, and 12.3.2.
12 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-48163 is a command injection vulnerability in MariaDB's State Snapshot Transfer (SST) mechanism via rsync. During SST, the donor node constructs shell commands by interpolating parameters from the joiner without sufficient validation. An attacker with privileges to initiate an SST join can craft malicious parameters that break out of intended command boundaries and execute arbitrary shell commands on the donor node with the privileges of the MariaDB process. The vulnerability exists in versions 10.6.1–10.6.26, 10.11.1–10.11.17, 11.4.1–11.4.11, 11.8.1–11.8.7, and 12.3.1. Patched versions are 10.6.27, 10.11.18, 11.4.12, 11.8.8, and 12.3.2.
Business impact
Compromise of a MariaDB donor node during SST can result in complete database server takeover, unauthorized data access, data modification, and lateral movement into the broader infrastructure. In multi-node cluster deployments, this vulnerability allows an internal or compromised node to execute OS-level commands on production database servers, bypassing database-level access controls. The impact is particularly severe in regulated environments where data integrity and audit trails are required.
Affected systems
MariaDB versions 10.6.1 through 10.6.26, 10.11.1 through 10.11.17, 11.4.1 through 11.4.11, 11.8.1 through 11.8.7, and 12.3.1 are vulnerable. The issue is specific to rsync-based SST; other SST methods may not be affected. Organizations running Galera clusters, MariaDB replication, or any multi-node deployment using rsync for state transfer should inventory their versions immediately.
Exploitability
Exploitation requires the attacker to initiate or influence an SST join request, which typically requires administrative credentials or compromised cluster node access. However, the CVSS score reflects that an attacker with high privileges can achieve complete compromise of the donor node (confidentiality, integrity, availability). The attack surface is limited to authenticated cluster participants, but the consequence of compromise is severe. This is not a unauthenticated remote code execution but rather a privilege escalation within a database cluster.
Remediation
Upgrade to patched versions immediately: 10.6.27 or later, 10.11.18 or later, 11.4.12 or later, 11.8.8 or later, or 12.3.2 or later. Before upgrading, restrict SST operations to trusted network segments and disable unnecessary cluster join operations. Apply network-level controls to limit which nodes can initiate SST to the donor. Consider temporarily disabling rsync-based SST in favor of xtrabackup or other validated transfer methods if patching is delayed.
Patch guidance
Verify the exact version of MariaDB running on all nodes using SELECT VERSION();. Cross-reference against the vendor advisory to confirm which versions in your deployment require patching. Test patches in a non-production cluster environment first, as SST operations should be validated before applying to production. Schedule patching during controlled maintenance windows when cluster rebalancing can be managed. After patching, verify that SST operations complete successfully and that no cluster split-brain conditions occur.
Detection guidance
Monitor for unexpected SST initiation events in MariaDB logs and cluster status. Look for rsync processes spawned by the MariaDB user with unusual command-line arguments, particularly those containing shell metacharacters (pipes, semicolons, backticks, variable expansions). Audit cluster join requests and validate that they originate from authorized nodes. Alert on any error messages related to SST parameter validation or shell command execution failures during node joins. Review system call traces (auditd, osquery) for MariaDB process spawning shell interpreters.
Why prioritize this
This is a HIGH severity vulnerability (CVSS 8.0) that enables arbitrary code execution on production database servers within trusted infrastructure. While it requires authenticated cluster access, the compromise scope is complete (confidentiality, integrity, availability across the system boundary). MariaDB clusters often hold critical business data, making this a priority for organizations running Galera deployments or multi-node MariaDB infrastructure. The fact that it is not yet on the CISA KEV list does not diminish its risk; patching should not be delayed pending KEV listing.
Risk score, explained
The CVSS 3.1 score of 8.0 (HIGH) reflects: (1) network-accessible attack vector—nodes communicate over the network; (2) high attack complexity due to requiring cluster access and proper parameter crafting; (3) high privileges required to initiate SST; (4) changed scope because compromise of the donor affects the entire database system and potentially the cluster; (5) high impact on all three pillars—C, I, A—as arbitrary code execution grants complete control. The score appropriately captures that this is a serious internal threat that should be remediated urgently in any multi-node MariaDB environment.
Frequently asked questions
Does this vulnerability affect standalone MariaDB servers?
No. This vulnerability is specific to MariaDB clusters and multi-node deployments that use State Snapshot Transfer (SST). Standalone MariaDB instances without clustering are not affected.
Which SST methods are vulnerable?
The vulnerability is specific to rsync-based SST. Other state transfer methods such as xtrabackup or mariabackup may not be vulnerable. Verify with your cluster configuration and consider switching transfer methods as a short-term mitigation if patching is delayed.
Does an attacker need special privileges to exploit this?
Yes. The attacker must be able to initiate or influence an SST join request, which requires administrative credentials or control of a cluster node. Unauthenticated remote exploitation is not possible. However, insider threats or compromised cluster nodes pose significant risk.
Is there a workaround if we cannot patch immediately?
Network isolation and access control are essential: restrict SST operations to trusted nodes only, disable cluster joins from untrusted sources, and monitor for anomalous join requests. Consider temporarily disabling rsync SST and switching to alternative state transfer methods until patches can be applied.
This analysis is based on the official CVE description and vendor advisory data available as of the publication date. Version numbers, patch guidance, and affected products are as stated in the source data; verify against the official MariaDB Foundation advisory and your specific deployment before taking action. This vulnerability requires authenticated cluster access and is not a zero-day or unpatched vulnerability in current release versions. Security decisions should be informed by your organization's risk profile, network architecture, and regulatory requirements. No exploit code or weaponized proof-of-concept is provided; this is for defensive analysis and remediation planning only. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-44168HIGHMariaDB Server Command Injection via SST Joiner Parameters
- 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