CVE-2026-107818: MariaDB: environment injection via wsrep bootstrap in the mariadb.service file

Published Oct 9, 2026
·
Updated

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 Software

1 affected component
MariaDB MariaDB Server>=10.6.1<10.6.28, <10.11.19, <11.4.13, <11.8.9, <12.3.3, <13.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 10.6.28
  2. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 10.11.19
  3. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 11.4.13
  4. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 11.8.9
  5. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 12.3.3
  6. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 13.0.2

Event History

Oct 9, 2026
CVE Published
via MITRE·05:23 PM
Data Sourced
via MITRE·05:23 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs access as a MariaDB database user with the FILE privilege. The server must also have secure-file-priv configured to allow writes to /run/mysqld.

2

Is a service restart required for exploitation to take effect?

Yes. The attacker-created /run/mysqld/wsrep-new-cluster file is used by the mariadb.service unit during the next service restart, at which point attacker-controlled environment values can be injected.

3

Which deployments are affected?

Affected versions begin at 10.6.1 and include releases before 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2. Systems already running one of those listed fixed versions are not affected by this issue.

4

What can be done before upgrading?

Restrict FILE privilege to trusted database users and ensure secure-file-priv does not permit writes to /run/mysqld. Check for the presence of /run/mysqld/wsrep-new-cluster before restarting the MariaDB service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203