The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-15180

CVE-2020-15180: MariaDB Galera Cluster RCE Vulnerability

CVE-2020-15180 is a remote code execution vulnerability in MariaDB's mysql-wsrep component that allows attackers to execute arbitrary commands on Galera cluster nodes. This article covers technical details, affected versions, and mitigation.

Updated: May 16, 2026

CVE-2020-15180 Overview

CVE-2020-15180 is a command injection vulnerability in the mysql-wsrep component of MariaDB. The flaw stems from missing input sanitization on the wsrep_sst_method variable used during State Snapshot Transfer (SST) operations in Galera cluster deployments. A remote attacker can inject arbitrary shell commands that execute on cluster nodes, breaking confidentiality, integrity, and availability. The defect affects MariaDB versions prior to 10.1.47, 10.2.34, 10.3.25, 10.4.15, and 10.5.6, as well as Percona XtraDB Cluster and Galera Cluster for MySQL deployments that share the affected wsrep provider logic.

Critical Impact

Successful exploitation allows arbitrary command execution on Galera cluster nodes with the privileges of the MariaDB service account, enabling full database takeover and lateral movement.

Affected Products

  • MariaDB versions before 10.1.47, 10.2.34, 10.3.25, 10.4.15, and 10.5.6
  • Percona XtraDB Cluster (versions prior to fixed releases referenced in the Percona advisory)
  • Galera Cluster for MySQL
  • Debian Linux 9 and Debian Linux 10

Discovery Timeline

  • 2021-05-27 - CVE-2020-15180 published to the National Vulnerability Database (NVD)
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-15180

Vulnerability Analysis

The vulnerability resides in how the mysql-wsrep component handles the wsrep_sst_method configuration variable. This variable selects the backend used for State Snapshot Transfer between Galera cluster nodes, such as rsync, mariabackup, or mysqldump. The codepath constructs shell command strings that incorporate the supplied method name without escaping or validating it.

Because the variable value flows into a shell context, an attacker who can influence its content can append arbitrary commands using standard shell metacharacters. The issue is classified as Improper Input Validation [CWE-20] and Command Injection [CWE-77]. Exploitation yields code execution under the user account running the MariaDB server, typically mysql, on every cluster node that processes the malicious SST request.

Root Cause

The root cause is the absence of sanitization or whitelisting when the wsrep_sst_method value is concatenated into the shell invocation that launches the SST helper script. The code trusts the variable contents and passes them through a shell interpreter rather than executing the binary directly with a fixed argument list. Any shell metacharacter — semicolons, backticks, pipes, or $() constructs — is interpreted as part of the command line.

Attack Vector

The attack is network-based but conditioned on the attacker being able to set or influence the wsrep_sst_method value. This may occur through SQL SET GLOBAL statements when an attacker obtains sufficient privileges, through configuration injection on management interfaces, or through compromise of an upstream component that propagates wsrep settings. Once the malicious value is in place, the next SST event triggers shell execution of the injected payload on the donor or joiner node.

No verified public proof-of-concept code is referenced in the available data. See the Percona Blog on CVE-2020-15180 and the Red Hat Bug Report for additional technical context.

Detection Methods for CVE-2020-15180

Indicators of Compromise

  • Unexpected child processes spawned by the mysqld or mariadbd process, particularly shells (/bin/sh, /bin/bash) executing non-SST binaries.
  • Modifications to wsrep_sst_method containing shell metacharacters such as ;, |, `, or $( in audit logs or configuration files.
  • Outbound network connections initiated by the MariaDB service account to attacker-controlled hosts following an SST event.
  • New or modified files in the MariaDB data directory or in the home directory of the mysql user immediately after a cluster join.

Detection Strategies

  • Audit MariaDB general query logs and configuration change events for SET GLOBAL wsrep_sst_method or SET SESSION wsrep_sst_method statements with non-standard values.
  • Monitor process trees for mysqld parenting unexpected commands; legitimate SST should invoke only the configured helper script (for example wsrep_sst_rsync or wsrep_sst_mariabackup).
  • Apply file integrity monitoring to /etc/mysql/, /etc/my.cnf, and /etc/my.cnf.d/ to flag unauthorized changes to wsrep parameters.

Monitoring Recommendations

  • Forward MariaDB error logs, audit plugin output, and host process telemetry into a centralized SIEM for correlation across cluster nodes.
  • Alert on any execution of wsrep_sst_* scripts outside scheduled cluster maintenance windows.
  • Track network egress from database hosts and flag connections that do not match expected replication peers.

How to Mitigate CVE-2020-15180

Immediate Actions Required

  • Upgrade MariaDB to 10.1.47, 10.2.34, 10.3.25, 10.4.15, 10.5.6, or later as appropriate to the installed branch.
  • Apply the corresponding Percona XtraDB Cluster and Galera Cluster updates referenced in the vendor advisories.
  • Rotate credentials for any account capable of issuing SET GLOBAL on cluster nodes and review recent privileged SQL activity.
  • Inspect cluster hosts for signs of post-exploitation activity, including unexpected cron jobs, SSH keys, or persistence mechanisms under the mysql user.

Patch Information

Fixes are available from upstream vendors and downstream distributions. Consult the Debian Security Advisory DSA-4776, the Debian LTS Announcement, and the Gentoo GLSA 202011-14 for distribution-specific package versions. Percona deployments should follow guidance in the Percona advisory.

Workarounds

  • Restrict the SUPER and SYSTEM_VARIABLES_ADMIN privileges so only trusted administrators can modify wsrep_sst_method at runtime.
  • Place cluster replication traffic on a dedicated, segmented network reachable only from peer nodes and management hosts.
  • Enforce configuration management (Ansible, Puppet, Chef) to keep wsrep parameters pinned to known-good values and revert drift automatically.
  • Enable the MariaDB audit plugin to capture all changes to global variables for forensic review until patches are applied.
bash
# Verify the installed MariaDB version and current SST method
mysql -u root -p -e "SELECT VERSION(); SHOW VARIABLES LIKE 'wsrep_sst_method';"

# Restrict privilege grants that allow runtime changes to wsrep variables
# Run as an administrative account after review
REVOKE SUPER ON *.* FROM 'app_user'@'%';
REVOKE SYSTEM_VARIABLES_ADMIN ON *.* FROM 'app_user'@'%';

# Pin wsrep_sst_method in my.cnf and disallow runtime overrides via config management
# /etc/mysql/conf.d/wsrep.cnf
# [mysqld]
# wsrep_sst_method=mariabackup

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMariadb

  • SeverityCRITICAL

  • CVSS Score9.0

  • EPSS Probability4.60%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20

  • CWE-77
  • Technical References
  • Red Hat Bug Report

  • Debian LTS Announcement

  • Gentoo GLSA Advisory

  • Debian Security Advisory
  • Vendor Resources
  • Percona Blog on CVE-2020-15180
  • Related CVEs
  • CVE-2026-32710: MariaDB Server RCE Vulnerability

  • CVE-2021-27928: MariaDB RCE Vulnerability

  • CVE-2026-35549: MariaDB Server DoS Vulnerability

  • CVE-2026-3494: MariaDB SQL Injection Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English