« List of all CVEs

CVE-2026-107818

MariaDB: environment injection via wsrep bootstrap in the mariadb.service file

Published: 10/9/2026 Last updated: 10/14/2026 Reserved: 10/8/2026

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.

CNA assigner: GitHub_M (a0819718-46f1-4df5-94e2-005712e83aaa) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 8.4 High CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

Opam packages affected (2)

conf-mariadb conf-mysql

Products affected (2)

Product Vendor Version
server MariaDB 20.15.4.1
server MariaDB 20.18.2.1

References (18)