What’s Vulnerable › Vulnerabilities
CVE-2026-107818: MariaDB: environment injection via wsrep bootstrap in the mariadb.service file
- Severity: high (CVSS 8.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-09 · updated 2026-10-14
- Weakness: CWE-15
Description
MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the mariadb.service unit used /run/mysqld/wsrep-new-cluster during the next service restart. A database user with FILE privilege and a secure-file-priv configuration permitting writes to /run/mysqld could create that file and inject attacker-controlled environment values into the restarted service. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.
Affected products
- MariaDB: from 10.6.1 before 10.6.28; from 10.11.1 before 10.11.19; from 11.4.1 before 11.4.13; from 11.8.1 before 11.8.9; from 12.3.1 before 12.3.3; from 13.0.1 before 13.0.2 — fixed in 10.11.19, 10.6.28, 11.4.13, 11.8.9, 12.3.3, 13.0.2
How to fix
Upgrade to a fixed version: MariaDB 10.11.19, 10.6.28, 11.4.13, 11.8.9. Check the vendor advisory for mitigations.
References
- https://github.com/MariaDB/server/commit/e3d62d4e78fd4941cef3f5053e6a50d0b32d740e
- https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19
- https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28
- https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13
- https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9
- https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3
- https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2
- https://github.com/MariaDB/server/security/advisories/GHSA-mhvc-vqcq-7vq5
- https://jira.mariadb.org/browse/MDEV-40629
Get alerted when CVE-2026-107818 or the next vulnerability affects your stack