CVE-2026-49261
mariadb: MariaDB Server: Arbitrary code execution via wsrep_notify_cmd
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 12, 2026
Updated · August 12, 2026
Description
A flaw was found in MariaDB server. When the wsrep_notify_cmd feature is enabled, a remote attacker could exploit this vulnerability by embedding shell commands in the name of a joiner node. This could lead to arbitrary code execution on the server, allowing the attacker to take full control of the affected system.
Statement
Red Hat has assessed this vulnerability as Important. Exploitation requires the wsrep_notify_cmd server variable to be explicitly set to a notification script by the administrator. This variable is empty by default in the upstream configuration, and Red Hat's shipped Galera configuration additionally defaults to wsrep_on=0. Additionally, the attacker must stand up a MariaDB/Galera node that is accepted into the cluster membership view in order to inject a malicious node name.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')