CVE-2026-49261: MariaDB server · OS Command Injection
Affects MariaDB serverSource CVE Database V5
Not known to be exploited · CVSS 10.0 Critical · fixed in 10.6.27 : patch MariaDB server as a priority.
Data as of 10/25/2026, 09:04:00 UTC
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 1.6% chance of exploitation in 30 days – higher than 76% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 10.6.27
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MariaDBserver | Affected
| Fixed in
|
Mariadbmariadb/serverpkg:deb/mariadb/serverOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in MariaDB versions 10.6.27, 10.11.18, 11.4.12, 11.8.8, and 12.3.2. Users should upgrade to these versions to remediate the vulnerability. If immediate upgrade is not possible, the vendor advisory recommends disabling the wsrep_notify_cmd feature to mitigate the risk. Exploitation requires wsrep_notify_cmd to be explicitly enabled and acceptance of a malicious node into the cluster, so ensuring wsrep_notify_cmd is disabled by default reduces exposure.
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`.
Impact
Successful exploitation allows remote attackers to execute arbitrary operating system commands on the MariaDB server with the privileges of the database process. This can lead to full system compromise, including unauthorized data access, modification, denial of service, and hiding of malicious activities. The vulnerability affects confidentiality, integrity, and availability of the affected system.
Weaknesses
- CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (opens in a new tab)
Base weaknessLikelihood of exploit: HighCWE Top 25 (2025): #9OWASP Top 10 A05:2025: Injection (opens in a new tab)
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.
References
- github.com/MariaDB/server/security/advisories/GHSA-3p3m-4x7c-p4pw (opens in a new tab)
- jira.mariadb.org/browse/MDEV-39721 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-49261 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2487957 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49261.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33093 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33412 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33464 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33482 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33481 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:25145 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:25143 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:49522 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:52848 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:54142 (opens in a new tab)