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
CVE-2021-27928 is a high-severity flaw (CVSS 7.2) affecting mariadb, percona server, wsrep. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 38.4% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2021-03-19 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-27928?
mariadb: upgrade to 10.2.37, 10.3.28, 10.4.18, 10.5.9; percona server: upgrade to newer than 2021-03-03; wsrep: upgrade to newer than 2021-03-03. Exact commands for each OS are on this page.
Is CVE-2021-27928 being exploited?
CVE-2021-27928 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-27928 affect?
CVE-2021-27928 affects mariadb, percona server, wsrep. Severity is high (CVSS 7.2). 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
How urgent is CVE-2021-27928?
Priority 60/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference; On your watchlist
Software pages
MySQL vulnerabilities · MariaDB vulnerabilities · Debian vulnerabilities
Related CVEs
- CVE-2026-97380 HIGH 8.8 UPGRADE MariaDB server is a community developed fork of MySQL server
- CVE-2026-49261 CRITICAL 10.0 UPGRADE MariaDB server is a community developed fork of MySQL server
- CVE-2026-44170 CRITICAL 9.8 UPGRADE MariaDB server is a community developed fork of MySQL server
- CVE-2026-44172 CRITICAL 9.1 DOWNGRADE MITIGATE MariaDB server is a community developed fork of MySQL server
- CVE-2026-48165 HIGH 8.0 UPGRADE MariaDB server is a community developed fork of MySQL server