CVE-2021-27928
mariadb: writable system variables allows a database user with SUPER privilege to execute arbitrary code as the system mysql user
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 19, 2021
Updated · June 28, 2026
Description
A vulnerability was found in mariadb and in the mysql wsrep patch that allows remote code execution. A user with SUPER privileges could execute arbitrary shell commands in the context of the mariadb server process.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Only 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.
CVSS / CWE
CVSS 3.1 · 7.2CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CWE-426 · Untrusted Search Path