CVE-2026-107818
published 2026-10-09CVE-2026-107818: 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…
PriorityP347high8.4CVSS 3.1
AVNACLPRHUIRSCCHIHAH
EPSS
0.34%
25.8th percentile
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
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| mariadb-devel_10.3 | mariadb | — | — |
| mariadb | mariadb | — | — |
| mariadb | mariadb | >= 10.11.1 < 10.11.19 | 10.11.19 |
| mariadb | mariadb | >= 10.6.1 < 10.6.28 | 10.6.28 |
| mariadb | mariadb | >= 11.4.1 < 11.4.13 | 11.4.13 |
| mariadb | mariadb | >= 11.8.1 < 11.8.9 | 11.8.9 |
| mariadb | mariadb | >= 12.3.1 < 12.3.3 | 12.3.3 |
| mariadb | mariadb | >= 13.0.1 < 13.0.2 | 13.0.2 |
| mariadb | server | — | — |
| mariadb | server | — | — |
| mariadb | server | — | — |
| mariadb | server | — | — |
| mariadb | server | — | — |
| mariadb | server | — | — |
| mariadb_10.11 | mariadb | — | — |
| mariadb_10.3 | mariadb | — | — |
| mariadb_11.8 | mariadb | — | — |
CVSS provenance
nvdv3.18.4HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
vendor_redhat8.4HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
mariadb: mariadb: Privilege escalation via environment variable injection during service restart
vendor_redhat·2026-10-09·CVSS 8.4
CVE-2026-107818 [HIGH] CWE-15 mariadb: mariadb: Privilege escalation via environment variable injection during service restart
mariadb: mariadb: Privilege escalation via environment variable injection during service restart
A flaw was found in MariaDB. An authenticated database user with file write permissions can create an unauthorized configuration file in the service runtime directory. During a subsequent service restart, the service unit loads this file and injects attacker-controlled environment variables into the process. This flaw allows an attacker to escalate privileges and potentially achieve arbitrary code execution on the underlying host system.
Package: mariadb10.11 (Red Hat Enterprise Linux 10) - Affected
Package: mariadb11.8 (Red Hat Enterprise Linux 10) - Affected
Package: mariadb (Red Hat Enterprise Linux 7) - Affected
Package: mariadb:10.11/mariadb (Red Hat Enterprise Linux 8) - Affected
Pa
VulDB
MariaDB up to 13.0.1 Service Unit wsrep-new-cluster code injection
vuldb·2026-10-09·CVSS 8.4
CVE-2026-107818 [HIGH] MariaDB up to 13.0.1 Service Unit wsrep-new-cluster code injection
A vulnerability was found in MariaDB up to 13.0.1. It has been declared as very critical. This impacts an unknown function of the file /run/mysqld/wsrep-new-cluster of the component Service Unit. The manipulation results in code injection.
This vulnerability is cataloged as CVE-2026-107818. The attack may be launched remotely. There is no exploit available.
It is recommended to upgrade the affected component.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-107818 mariadb11.8: mariadb: Privilege escalation via environment variable injection during service restart [fedora-all]
bugzilla·2026-10-22·CVSS 8.4
CVE-2026-107818 [HIGH] CVE-2026-107818 mariadb11.8: mariadb: Privilege escalation via environment variable injection during service restart [fedora-all]
CVE-2026-107818 mariadb11.8: mariadb: Privilege escalation via environment variable injection during service restart [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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 iss
Bugzilla
CVE-2026-107818 mariadb12.3: mariadb: Privilege escalation via environment variable injection during service restart [fedora-all]
bugzilla·2026-10-22·CVSS 8.4
CVE-2026-107818 [HIGH] CVE-2026-107818 mariadb12.3: mariadb: Privilege escalation via environment variable injection during service restart [fedora-all]
CVE-2026-107818 mariadb12.3: mariadb: Privilege escalation via environment variable injection during service restart [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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 iss
Bugzilla
CVE-2026-107818 mariadb10.11: mariadb: Privilege escalation via environment variable injection during service restart [fedora-all]
bugzilla·2026-10-22·CVSS 8.4
CVE-2026-107818 [HIGH] CVE-2026-107818 mariadb10.11: mariadb: Privilege escalation via environment variable injection during service restart [fedora-all]
CVE-2026-107818 mariadb10.11: mariadb: Privilege escalation via environment variable injection during service restart [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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 is
Bugzilla
CVE-2026-107818 mariadb: mariadb: Privilege escalation via environment variable injection during service restart
bugzilla·2026-10-09·CVSS 8.4
CVE-2026-107818 [HIGH] CVE-2026-107818 mariadb: mariadb: Privilege escalation via environment variable injection during service restart
CVE-2026-107818 mariadb: mariadb: Privilege escalation via environment variable injection during service restart
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.
https://github.com/MariaDB/server/commit/e3d62d4e78fd4941cef3f5053e6a50d0b32d740ehttps://github.com/MariaDB/server/releases/tag/mariadb-10.11.19https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2https://github.com/MariaDB/server/security/advisories/GHSA-mhvc-vqcq-7vq5https://jira.mariadb.org/browse/MDEV-40629
2026-10-09
Published