CVE-2026-49261
Received Received - Intake
Command Injection in MariaDB Server via wsrep_notify_cmd

Publication date: 2026-06-11

Last updated on: 2026-06-11

Assigner: GitHub, Inc.

Description
MariaDB server is a community developed fork of MySQL server. 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 with `wsrep_notify_cmd` enabled would execute shell commands embedded in the name of the joiner node. This is fixed in 10.6.27, 10.11.18, 11.4.12, 11.8.8, and 12.3.2. As a workaround, anyone who cannot upgrade now should disable `wsrep_notify_cmd`.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-11
Last Modified
2026-06-11
Generated
2026-06-11
AI Q&A
2026-06-11
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 10 associated CPEs
Vendor Product Version / Range
mariadb mariadb From 10.6.1 (inc) to 10.6.26 (inc)
mariadb mariadb From 10.11.1 (inc) to 10.11.17 (inc)
mariadb mariadb From 11.4.1 (inc) to 11.4.11 (inc)
mariadb mariadb From 11.8.1 (inc) to 11.8.7 (inc)
mariadb mariadb From 12.3.1 (inc)
mariadb mariadb 10.6
mariadb mariadb 10.11
mariadb mariadb 11.4
mariadb mariadb 11.8
mariadb mariadb 12.3
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-49261 is a critical vulnerability in MariaDB server related to the `wsrep_notify_cmd` feature. When this feature is enabled, the server executes shell commands embedded in the name of a joiner node without proper sanitization. This allows an attacker to inject arbitrary operating system commands remotely by including shell metacharacters in peer-supplied fields such as wsrep_node_name and wsrep_node_incoming_address.

The vulnerability affects multiple MariaDB versions including 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. It has been fixed in later versions by validating and rejecting unsafe values before executing commands.

Impact Analysis

This vulnerability can have severe impacts including full compromise of the affected MariaDB server. Because the vulnerability allows remote attackers to execute arbitrary shell commands without any privileges or user interaction, it can lead to complete loss of confidentiality, integrity, and availability of the database server.

  • Remote code execution on the database server.
  • Potential unauthorized access to sensitive data.
  • Disruption or denial of database services.
  • Compromise of the underlying operating system.
Detection Guidance

Detection of this vulnerability involves checking if your MariaDB server is running a vulnerable version with the `wsrep_notify_cmd` feature enabled.

You can verify the MariaDB version by running the command: `mysql -V` or connecting to the server and running `SELECT VERSION();`.

To check if `wsrep_notify_cmd` is enabled, you can query the MariaDB configuration or run: `SHOW VARIABLES LIKE 'wsrep_notify_cmd';` within the MariaDB client.

Additionally, monitoring logs for unusual shell command executions or unexpected cluster joiner node names containing shell metacharacters may help detect exploitation attempts.

Mitigation Strategies

The primary mitigation is to upgrade MariaDB to a fixed version: 10.6.27, 10.11.18, 11.4.12, 11.8.8, or 12.3.2 or later.

If immediate upgrade is not possible, disable the `wsrep_notify_cmd` feature to prevent execution of shell commands embedded in joiner node names.

Ensure that any cluster joiner nodes are trusted and monitor for suspicious activity related to cluster joins.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-49261. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart