CVE-2026-48163
MariaDB Server vulnerability analysis and mitigation

Overview

CVE-2026-48163 is an OS command injection vulnerability in MariaDB Community Server affecting the wsrep State Snapshot Transfer (SST) mechanism via the rsync method. During SST, the donor node interpolates parameters received from the joiner node into shell command lines without sufficient validation, allowing a malicious joiner to execute arbitrary shell commands on the donor. Affected versions include 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. The vulnerability was published on June 12, 2026, with the GitHub Security Advisory (GHSA-rpgv-q6gv-684r) first published June 2, 2026. It carries a CVSS v3.1 base score of 8.0 (High) per the GitHub advisory, or 7.2 (High) per NVD (GitHub Advisory, Feedly).

Technical details

The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), specifically within the wsrep_sst_rsync script used during Galera cluster State Snapshot Transfer operations (GitHub Advisory). When a joiner node initiates an SST, it sends parameters to the donor node; the donor's wsrep_sst_rsync script interpolates these parameters directly into shell command lines without fully sanitizing them, enabling argument/command injection. Exploitation requires the attacker to control a joiner node within the cluster (high privileges required) and network access to the donor, but no user interaction is needed. The issue is tracked upstream as MDEV-39648 (GitHub Advisory).

Impact

A malicious joiner node can execute arbitrary shell commands on the donor node with the privileges of the MariaDB/wsrep process, resulting in full compromise of confidentiality, integrity, and availability on the donor host. This could allow an attacker to exfiltrate database contents, modify or destroy data, install backdoors, or pivot to other systems accessible from the donor node. The scope is marked as "Changed" in the GitHub advisory CVSS vector, indicating that the impact can extend beyond the vulnerable MariaDB component itself (GitHub Advisory, Feedly).

Exploitation steps

  1. Reconnaissance: Identify a target MariaDB Galera cluster running a vulnerable version (10.6.1–10.6.26, 10.11.1–10.11.17, 11.4.1–11.4.11, 11.8.1–11.8.7, or 12.3.1) with the rsync SST method enabled.
  2. Gain joiner node access: Obtain control of a node that can join the cluster, either by compromising an existing cluster member or by introducing a rogue node with valid cluster credentials.
  3. Initiate SST: Trigger a State Snapshot Transfer from the malicious joiner node to the donor node, which causes the donor to execute the wsrep_sst_rsync script.
  4. Inject malicious parameters: Craft SST parameters sent from the joiner that include shell metacharacters or command separators (e.g., ;, $(...), |) in fields that are interpolated unsanitized into the donor's shell command line.
  5. Achieve arbitrary command execution: The donor's wsrep_sst_rsync script executes the injected shell commands with the privileges of the MariaDB process, enabling reverse shell establishment, data exfiltration, or further lateral movement (GitHub Advisory, Feedly).

Indicators of compromise

  • Logs: Unexpected or malformed entries in MariaDB error logs (/var/log/mysql/error.log) during SST operations; shell error messages or unusual command output appearing in wsrep/SST log files.
  • Process: Unusual child processes spawned by the MariaDB or wsrep_sst_rsync process (e.g., /bin/bash, curl, wget, nc, python) during or after an SST event; unexpected network connections initiated from the donor node.
  • Network: Outbound connections from the donor node to unknown external IPs immediately following an SST operation; unexpected rsync traffic with anomalous parameters.
  • File System: New or modified files in the MariaDB data directory or system directories created during SST; presence of web shells, cron jobs, or SSH authorized_keys modifications made by the MariaDB process account.

Mitigation and workarounds

Upgrade MariaDB to the patched versions: 10.6.27, 10.11.18, 11.4.12, 11.8.8, or 12.3.2 (GitHub Advisory, MariaDB Releases). As a temporary workaround, remove the wsrep_sst_rsync script from donor hosts to prevent the rsync SST method from being used; an alternative SST method (e.g., mariabackup) should be configured if SST is required. Additionally, restrict cluster membership to trusted nodes only and enforce network-level controls to limit which hosts can initiate SST operations.

Community reactions

The vulnerability received coverage from security news outlets including SecurityOnline.info and BeyondMachines, which highlighted it as a notable MariaDB command injection flaw (SecurityOnline). SUSE issued security updates (SUSE-SU-2026:2282-1, SUSE-SU-2026:2330-1) and openSUSE published corresponding advisories, reflecting prompt downstream patching activity (SUSE Advisory). The Singapore Cyber Security Agency (CSA) also issued an alert (AL-2026-078) referencing this vulnerability. Community discussion on Mastodon and Bluesky noted the issue but overall sentiment reflected low immediate risk given the high privilege requirement and absence of public exploits.

Additional resources


SourceThis report was generated using AI

Related MariaDB Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-44171HIGH7.8
  • MariaDB Server logoMariaDB Server
  • mariadb1011-rocksdb-engine
NoYesJun 12, 2026
CVE-2026-48165HIGH7.2
  • MariaDB Server logoMariaDB Server
  • mariadb11.8-backup-debuginfo
NoYesJun 12, 2026
CVE-2026-48163HIGH7.2
  • MariaDB Server logoMariaDB Server
  • mariadb-debuginfo
NoYesJun 12, 2026
CVE-2026-44172MEDIUM6.9
  • MariaDB Server logoMariaDB Server
  • mariadb1011-connect-engine-debuginfo
NoYesJun 12, 2026
CVE-2026-44173MEDIUM5.3
  • MariaDB Server logoMariaDB Server
  • mariadb-pam-debuginfo
NoYesJun 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management