CVE-2026-49261
Modified Modified - Updated After Analysis

Command Injection in MariaDB Server via wsrep_notify_cmd

Vulnerability report for CVE-2026-49261, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-11

Last updated on: 2026-07-01

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-07-01
Generated
2026-07-02
AI Q&A
2026-06-11
EPSS Evaluated
2026-06-30
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.

Compliance Impact

The vulnerability allows remote attackers to execute arbitrary shell commands on affected MariaDB servers without privileges or user interaction, leading to a complete compromise of confidentiality, integrity, and availability.

Such a critical security flaw could result in unauthorized access to sensitive data, disruption of services, and potential data breaches, which may violate compliance requirements under standards like GDPR and HIPAA that mandate protection of personal and health information.

Organizations using vulnerable MariaDB versions with wsrep_notify_cmd enabled may face compliance risks if this vulnerability is exploited, as it undermines the security controls required to protect regulated data.

Mitigation by upgrading to patched versions or disabling wsrep_notify_cmd is essential to maintain compliance and reduce the risk of regulatory penalties.

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