High severity · published Feb 4, 2020
CVE-2020-7221
mysql_install_db in MariaDB 10.4.7 through 10.4.11 allows privilege escalation from the mysql user account to root because chown and chmod are performed unsafely, as demonstrated…
7.8
CVSS
0.7%
EPSS
No
On KEV
Description
mysql_install_db in MariaDB 10.4.7 through 10.4.11 allows privilege escalation from the mysql user account to root because chown and chmod are performed unsafely, as demonstrated by a symlink attack on a chmod 04755 of auth_pam_tool_dir/auth_pam_tool. NOTE: this does not affect the Oracle MySQL product, which implements mysql_install_db differently.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 52% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
Mariadb · Mariadb
10.4.7 through 10.4.11 · source: NVD
Affected product
MA
Mariadb
Mariadb
More from Mariadb
9.9
CVE-2026-85748
MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
9.9
CVE-2026-85746
MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections
9.9
CVE-2026-92262
MariaDB: Numerous issues caused by historical #mysql50# tablename encoding bypass.
9.9
CVE-2026-32710
Heap-based Buffer Overflow in MariaDB
9.8
CVE-2026-44170
MariaDB: Argument injection in CONNECT REST Xcurl on Windows via unsanitized URL