Skip to content
WatchlistHigh

CVE-2021-27928Wsrep OS Command Injection

mariadb-10.1 - security update

Published Mar 19, 2021 · Updated Nov 5, 2026 · Also known as ALPINE-CVE-2021-27928, BIT-mariadb-2021-27928, BIT-mariadb-min-2021-27928, BIT-mysql-client-2021-27928, CGA-45jr-vhvq-fc42, CGA-52xh-m23f-mpm2, CGA-6g3g-m9jr-xvf2, CGA-6hp6-h6w4-7632, CGA-6x8r-r5c8-h69h, CGA-7pjp-hhm6-788f, CGA-8mvq-hm2q-w2qw, CGA-c83j-x6c6-hr5g, CGA-cjgr-8hg4-j3vx, CGA-f3jg-fw93-2f8p, CGA-hhmr-83r3-mx4m, CGA-mh32-3gf8-wpq8, CGA-p5qx-wx4f-fmrm, CGA-rhpj-vc25-fm7f, CGA-v6f2-fq32-9f56, CGA-wwcv-3pgf-phvp, CLEANSTART-2026-VU61773, DEBIAN-CVE-2021-27928, DLA-2605-1, GHSA-2q7x-w5q3-rjxc, MINI-jqpw-hxh5-7q33, MINI-rwhc-r5fm-rcf5, TR-21-0247, UBUNTU-CVE-2021-27928

Key Facts

Patch immediately
  • CVE-2021-27928 is a high-severity vulnerability (CVSS 7.2 v3.1) affecting Wsrep (Galeracluster), Mariadb, Percona Server and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 38% probability of exploitation in the next 30 days.
  • Fixed versions are available, including asio 1.10.8-7.module_el8.6.0+2867+72759d2f, asio-devel 1.10.8-7.module+el8.1.0+5402+691bd77e, galera 25.3.32-1.module_el8.3.0+2177+7adc332a.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v3.1

7.2

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

38%

Higher than 98.6% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

47/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

A remote code execution issue was discovered in MariaDB 10.2 before 10.2.37, 10.3 before 10.3.28, 10.4 before 10.4.18, and 10.5 before 10.5.9; Percona Server through 2021-03-03; and the wsrep patch through 2021-03-03 for MySQL. An untrusted search path leads to eval injection, in which a database SUPER user can execute OS commands after modifying wsrep_provider and wsrep_notify_cmd. NOTE: this does not affect an Oracle product.

Affected Products

342 affected entries in total
ProductAffected versionsFixed in
WsrepGaleraclusterSee advisory2021-03-03
MariadbMariadb>= 10.2.010.2.37
Percona ServerPerconaSee advisory2021-03-03
Debian LinuxDebian9.0n/a
percona-server-8.0chainguardSee advisory0
20 more affected products in the full CVE brief

Patched Releases

asio

1.10.8-7.module_el8.6.0+2867+72759d2f

asio-devel

1.10.8-7.module+el8.1.0+5402+691bd77e

galera

25.3.32-1.module_el8.3.0+2177+7adc332a, 25.3.32-1.module+el8.3.0+20131+15c9d707, 25.3.32-1.module+el8.4.0+427+adf35707, 10.2.39-3.36.1, 10.4.20-3.9.1, 10.6.5-3.1

Wsrep

<=2021-03-03

Judy

1.0.5-18.0.1.module+el8.3.0+9616+7a81225f, 1.0.5-18.module_el8.6.0+2867+72759d2f, 1.0.5-18.module+el8.4.0+427+adf35707

Judy-devel

1.0.5-18.0.1.module+el8.3.0+9616+7a81225f

liblz4-1

1.8.0-3.5.2

libmariadb_plugins

3.1.22-2.35.1

libmariadb-devel

3.1.22-2.35.1

libmariadb3

3.1.22-2.35.1

libmariadbd-devel

10.4.20-3.9.1, 10.5.11-3.3.1, 10.6.5-3.1

libmariadbd104-devel

10.4.30-150100.3.5.10, 10.4.30-8.5.46

libmariadbd19

10.4.20-3.9.1, 10.4.30-150100.3.5.10, 10.4.30-8.5.46, 10.5.11-3.3.1, 10.6.5-3.1

libmysqld-devel

10.2.39-3.40.1

libmysqld19

10.2.39-3.40.1

lz4

1.8.0-3.5.2

Mariadb

10.2.37, 10.2.38-1.ph1, 10.2.38-1.ph2, 10.2.39-3.36.1, 10.2.39-3.40.1, 10.3.28, 10.3.28-1, 10.3.28-r0, 10.3.29-1.ph3, 10.3.9-11.oe1, 10.4.18, 10.4.18-r0, 10.4.20-3.9.1, 10.5.11-3.3.1, 10.5.9, 10.5.9-r0, 10.6.5-3.1, 3:10.1.20-3.el7ost, 3:10.3.28-1.module_el8.3.0+2177+7adc332a, 3:10.3.28-1.module+el8.3.0+20131+15c9d707, 3:10.3.28-1.module+el8.4.0+427+adf35707

mariadb-10.1

10.1.48-0+deb9u2

mariadb-10.5

1:10.5.9-1

mariadb-backup

3:10.3.28-1.module+el8.3.0+20131+15c9d707

mariadb-bench

10.5.11-3.3.1, 10.6.5-3.1

mariadb-client

10.2.39-3.36.1, 10.2.39-3.40.1, 10.4.20-3.9.1, 10.5.11-3.3.1, 10.6.5-3.1

mariadb-common

3:10.3.28-1.module+el8.3.0+20131+15c9d707

mariadb-connector-c

3.1.22-2.35.1

mariadb-devel

3:10.3.28-1.module+el8.3.0+20131+15c9d707

Timeline

  1. Publicly disclosed

    Mar 19, 2021

  2. Last updated

    Nov 5, 2026

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command
  • CWE-94 Improper Control of Generation of Code
  • CWE-426 Untrusted Search Path

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2021-27928 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 5, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.