MariaDB: environment injection via wsrep bootstrap in the mariadb.service file
Summary
| CVE | CVE-2026-107818 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-09 18:17:03 UTC |
| Updated | 2026-10-09 18:17:03 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.4 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Problem Types: CWE-15 | CWE-15 CWE-15: External Control of System or Configuration Setting
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.4 | HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.4 | HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
HighUser Interaction
RequiredScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | MariaDB | Server | affected >= 10.6.1, < 10.6.28 | Not specified |
| CNA | MariaDB | Server | affected >= 10.11.1, < 10.11.19 | Not specified |
| CNA | MariaDB | Server | affected >= 11.4.1, < 11.4.13 | Not specified |
| CNA | MariaDB | Server | affected >= 11.8.1, < 11.8.9 | Not specified |
| CNA | MariaDB | Server | affected >= 12.3.1, < 12.3.3 | Not specified |
| CNA | MariaDB | Server | affected >= 13.0.1, < 13.0.2 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/MariaDB/server/releases/tag/mariadb-10.6.28 | [email protected] | github.com | |
| github.com/MariaDB/server/releases/tag/mariadb-13.0.2 | [email protected] | github.com | |
| jira.mariadb.org/browse/MDEV-40629 | [email protected] | jira.mariadb.org | |
| github.com/MariaDB/server/releases/tag/mariadb-11.8.9 | [email protected] | github.com | |
| github.com/MariaDB/server/security/advisories/GHSA-mhvc-vqcq-7vq5 | [email protected] | github.com | |
| github.com/MariaDB/server/releases/tag/mariadb-10.11.19 | [email protected] | github.com | |
| github.com/MariaDB/server/commit/e3d62d4e78fd4941cef3f5053e6a50d0b32d740e | [email protected] | github.com | |
| github.com/MariaDB/server/releases/tag/mariadb-12.3.3 | [email protected] | github.com | |
| github.com/MariaDB/server/releases/tag/mariadb-11.4.13 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.