vulnerability
Published 2026-09-21
Updated 2026-10-29
Verified 2026-10-29

MariaDB CVE-2026-107814 (CVSS 8.4): RPM packages set the mysql account home to the data directory, letting a FILE-privileged user plant dot-files that run on login; fixed in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3 and 13.0.2

MariaDB published advisory GHSA-m5gf-432r-g5jw, 'Insecure $HOME in MariaDB rpm packages' (CVE-2026-107814, High, CVSS 3.1 8.4, CWE-732), on 21 September 2026.

MariaDB says its rpm packages created a dedicated mysql user to run mariadbd with its home directory set to the data directory, so a malicious user with FILE privilege could create dot-files in $HOME; for example a .bash_profile would run when someone does su - mysql -s /bin/bash. Deb packages are not vulnerable because the home there is /nonexistent. Affected: 10.6.1–10.6.27, 10.11.1–10.11.18, 11.4.1–11.4.12, 11.8.1–11.8.8, 12.3.1–12.3.2 and 13.0.1; fixed in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3 and 13.0.2.

No exploitation is reported in the advisory. (source: MariaDB)

Correction (27 Oct 2026): this card covered a batch of MariaDB advisories and has been cut back to CVE-2026-107814, the one its id names.

Removed: seven other server advisories, one Connector/C advisory and one Connector/Node.js advisory; plus the advisory-list and 11.8.9 release links.

The card date has moved from 9 October to 21 September 2026, the date the advisory visibly shows. (source: MariaDB)

Correction (29 Oct 2026): the CVE ids of the removed advisories were taken out of the correction note above so they are no longer listed or linked on this card. (source: MariaDB)

Product
MariaDB Server (rpm packages)
Versions
10.6.1–10.6.27, 10.11.1–10.11.18, 11.4.1–11.4.12, 11.8.1–11.8.8, 12.3.1–12.3.2, 13.0.1 (rpm packages; deb packages not vulnerable)
CVSS
(CVSS 3.1, CVE-2026-107814)
Exploited in Australia?
no
Patch to
Upgrade MariaDB Server to 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3 or 13.0.2 (or later). MariaDB's workaround: change the mysql user's home to something mariadbd cannot write to, for example 'usermod -d / mysql' or 'usermod -d /nonexistent mysql'.

vulnerabilities cloud