Skip to main content
Public proof of conceptFix available

CVE-2021-27928

A public proof of concept exists; no exploitation attested.

  • Published2021-03-19
  • Fixed in10.5.9 · 10.4.18 · 10.3.28 · 10.2.37
  • WeaknessCWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-03-1903:15CVE publishedNVD
  2. 2021-04-14Exploit-DB entryExploit-DB

Observed activity

isMalicious corpus · updated 2026-11-04 03:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-27928?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-27928?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
MariaDB
BranchAffectedFixed in
10.5≥ 10.5, < 10.5.910.5.9
10.5≥ 10.5.0, < 10.5.910.5.9
10.4≥ 10.4, < 10.4.1810.4.18
10.4≥ 10.4.0, < 10.4.1810.4.18
10.3≥ 10.3, < 10.3.2810.3.28
10.3≥ 10.3.0, < 10.3.2810.3.28
10.2≥ 10.2, < 10.2.3710.2.37
10.2≥ 10.2.0, < 10.2.3710.2.37
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
Galeracluster wsrep
BranchAffectedFixed in
2021.x≤ 2021-03-03no fix published

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • asioRocky Linux:8all versions · fixed in 0:1.10.8-7.module+el8.3.0+126+a7f7b5c5
  • asioRocky Linux:8all versions · fixed in 0:1.10.8-7.module+el8.5.0+777+18007c86
  • asioRed Hat:rhel_eus:8.2::crball versions · fixed in 0:1.10.8-7.module+el8+2765+cfa4f87band 1 other package
  • asioRed Hat:rhel_eus:8.1::crball versions · fixed in 0:1.10.8-7.module+el8+2765+cfa4f87band 1 other package
  • asioRed Hat:enterprise_linux:8::crball versions · fixed in 0:1.10.8-7.module+el8+2765+cfa4f87band 1 other package
  • asio-develAlmaLinux:8all versions · fixed in 1.10.8-7.module_el8.6.0+2867+72759d2f
  • asio-develAlmaLinux:8all versions · fixed in 1.10.8-7.module_el8.6.0+3072+3c630e87
  • galeraRocky Linux:8all versions · fixed in 0:25.3.32-1.module+el8.4.0+427+adf35707

99 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-27928 Red Hat Product Security722 products fixed

    mariadb: writable system variables allows a database user with SUPER privilege to execute arbitrary code as the system mysql user

  • ICSA-26-027-02 CISA1 known affected

    Festo Didactic SE MES PC

    Festo Didactic SE MES PC shipped with Windows 10

  • RHSA-2021:2040 Red Hat Product Security228 products fixed

    Red Hat Security Advisory: rh-mariadb103-mariadb and rh-mariadb103-galera security update

  • RHSA-2021:1240 Red Hat Product Security154 products fixed

    Red Hat Security Advisory: mariadb:10.3 and mariadb-devel:10.3 security update

  • RHSA-2021:1242 Red Hat Product Security154 products fixed

    Red Hat Security Advisory: mariadb:10.3 and mariadb-devel:10.3 security update

  • RHSA-2021:1241 Red Hat Product Security154 products fixed

    Red Hat Security Advisory: mariadb:10.3 and mariadb-devel:10.3 security update

1 more advisory

Full record on NVD

Fix

  1. Update MariaDB to 10.5.9 · 10.4.18 · 10.3.28 · 10.2.37
  2. Vendor fix CISA ICSA-26-027-02 · 1 productFesto Didactic has released Factory Control Panel as a replacement for XAMPP on its MES PCs. Contact technical support at services.didactic@festo.com to obtain the current version of Factory Control Panel which includes fixes for these vulnerabilities.
  3. Vendor fix Red Hat Product Security RHSA-2021:2040 · 228 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the MariaDB server daemon (mysqld) will be restarted automatically.
  4. Vendor fix Red Hat Product Security RHSA-2021:1039 · 32 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  5. Workaround from the vendor Red Hat Product Security RHSA-2021:2040 · 228 productsOnly users that have the SUPER privilege can exploit this flaw. To reduce your exposure, ensure user accounts with the SUPER privilege are protected with strong credentials, only allowed to connect locally and not shared with untrusted parties.

Advisories and patches

Detection

read 2026-11-03 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-49765
Exploit-DB
Proof-of-concept repositories
3 repositories, unverifiedAl1ex/CVE-2021-27928shamo0/CVE-2021-27928-POCLalieA/CVE-2021-27928
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.17.2read 2026-10-23
  • NVDCVSS 2.09read 2026-10-23
  • NVDweakness (CWE)CWE-94read 2026-10-23
  • FIRST EPSSEPSS score38.4 %read 2026-11-03
  • PoC-in-GitHubproof of concept3read 2026-11-03
  • Exploit-DBdetectionread 2026-11-03
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
2021-03-19
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is 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.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.

Is CVE-2021-27928 actively exploited?

Active exploitation of CVE-2021-27928 has not been confirmed. Its EPSS score was 38.4% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-27928?

CVE-2021-27928 has a CVSS v3 base score of 7.2 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Running MariaDB? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record