{"id":"CVE-2021-27928","url":"https://www.cyber-defence.io/tools/cve/CVE-2021-27928","generatedAt":"2026-11-05T01:35:26.123Z","title":"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.","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.","published":"2021-03-19T03:15:12.000Z","lastModified":"2026-06-17T03:45:38.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":7.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-94"],"affected":["mariadb/mariadb","percona/percona server","galeracluster/wsrep","debian/debian linux"],"epss":{"score":0.38436,"percentile":0.98572,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2021-04-14","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":49765,"kind":"exploit","title":"MariaDB 10.2 - 'wsrep_provider' OS Command Execution","url":"https://www.exploit-db.com/exploits/49765","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/49765.txt","file":"exploits/linux/local/49765.txt","published":"2021-04-14","added":"2021-04-14","updated":"2021-10-29","author":"Central InfoSec","type":"local","platform":"linux","port":null,"verified":false,"codes":["CVE-2021-27928"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 38.4%, higher than 99% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://jira.mariadb.org/browse/MDEV-25179","tags":["Issue Tracking","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00028.html","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://mariadb.com/kb/en/mariadb-10237-release-notes/","tags":["Release Notes","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://mariadb.com/kb/en/mariadb-10328-release-notes/","tags":["Release Notes","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://mariadb.com/kb/en/mariadb-10418-release-notes/","tags":["Release Notes","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://mariadb.com/kb/en/mariadb-1059-release-notes/","tags":["Release Notes","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://mariadb.com/kb/en/security/","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/202105-28","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://jira.mariadb.org/browse/MDEV-25179","tags":["Issue Tracking","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00028.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://mariadb.com/kb/en/mariadb-10237-release-notes/","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://mariadb.com/kb/en/mariadb-10328-release-notes/","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://mariadb.com/kb/en/mariadb-10418-release-notes/","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://mariadb.com/kb/en/mariadb-1059-release-notes/","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://mariadb.com/kb/en/security/","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202105-28","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-27928","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}