# CVE-2021-27928: 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…

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 38.4%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-03-19T02:46:44.000Z
- Modified: 2026-09-08T08:48:23.927Z
- Also known as: BIT-MARIADB-2021-27928, BIT-MARIADB-MIN-2021-27928, BIT-MYSQL-CLIENT-2021-27928
- Weaknesses: CWE-94
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mariadb mariadb: from 10.2 before 10.2.37; from 10.3 before 10.3.28; from 10.4 before 10.4.18; from 10.5 before 10.5.9
- percona percona_server: up to 2021-03-03
- galeracluster wsrep: up to 2021-03-03
- debian debian_linux: 9.0
- mariadb (Bitnami): from 10.2.0 before 10.2.37; from 10.3.0 before 10.3.28; from 10.4.0 before 10.4.18; from 10.5.0 before 10.5.9
- mariadb-min (Bitnami): from 10.2.0 before 10.2.37; from 10.3.0 before 10.3.28; from 10.4.0 before 10.4.18; from 10.5.0 before 10.5.9
- mysql-client (Bitnami): from 10.2.0 before 10.2.37; from 10.3.0 before 10.3.28; from 10.4.0 before 10.4.18; from 10.5.0 before 10.5.9

## Every score

- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`
- Bitnami Vulnerability Database: rating High

## References

- <http://packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html> (exploit, advisory, third-party-advisory, vdb-entry)
- <https://mariadb.com/kb/en/security/> (advisory, vendor-advisory)
- <https://jira.mariadb.org/browse/MDEV-25179> (advisory, issue-tracking, vendor-advisory)
- <https://mariadb.com/kb/en/mariadb-10237-release-notes/> (advisory, release-notes, vendor-advisory)
- <https://mariadb.com/kb/en/mariadb-10328-release-notes/> (advisory, release-notes, vendor-advisory)
- <https://mariadb.com/kb/en/mariadb-10418-release-notes/> (advisory, release-notes, vendor-advisory)
- <https://mariadb.com/kb/en/mariadb-1059-release-notes/> (advisory, release-notes, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/03/msg00028.html> (advisory, mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202105-28> (advisory, third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27928> (web)

## Sources

- CVE List: [CVE-2021-27928](https://www.cve.org/CVERecord?id=CVE-2021-27928), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-27928](https://nvd.nist.gov/vuln/detail/CVE-2021-27928), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MARIADB-2021-27928](https://osv.dev/vulnerability/BIT-MARIADB-2021-27928), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-MARIADB-MIN-2021-27928](https://osv.dev/vulnerability/BIT-MARIADB-MIN-2021-27928), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-MYSQL-CLIENT-2021-27928](https://osv.dev/vulnerability/BIT-MYSQL-CLIENT-2021-27928), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-27928 · Whole record: https://cve.day/CVE-2021-27928.json · Rebuilt by cve.day 2026-11-25T22:58:00.339Z
