CVE-2026-107818
mariadb: mariadb: Privilege escalation via environment variable injection during service restart
Overview
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.
Source: OX vulnerability database
Severity
8.4 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Weakness: CWE-15
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | mariadb | >=10.6.1, <10.6.28>=10.11.1, <10.11.19>=11.4.1, <11.4.13>=11.8.1, <11.8.9>=12.3.1, <12.3.3+1 more | 10.6.2810.11.1911.4.1311.8.912.3.3 |
| Bitnami | mariadb-min | >=10.6.1, <10.6.28>=10.11.1, <10.11.19>=11.4.1, <11.4.13>=11.8.1, <11.8.9>=12.3.1, <12.3.3+1 more | 10.6.2810.11.1911.4.1311.8.912.3.3 |
| Bitnami | mysql-client | >=10.6.1, <10.6.28>=10.11.1, <10.11.19>=11.4.1, <11.4.13>=11.8.1, <11.8.9>=12.3.1, <12.3.3+1 more | 10.6.2810.11.1911.4.1311.8.912.3.3 |
Open a package to see all its vulnerabilities.
Operating systems · 18 fixes
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | mariadb +4 | 10.11.19-1.ph4 |
| 5.0 | mariadb +4 | 11.8.9-1.ph5 |
Red Hat 7 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | mariadb +12 | affected |
| 8 (mariadb-devel:10.3) | galera +15 | affected |
| 8 (mariadb:10.11) | galera +15 | affected |
| 8 (mariadb:10.3) | galera +15 | affected |
| 9 | mariadb +13 | affected |
| 9 (mariadb:10.11) | mariadb +13 | affected |
1 more row
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | mariadb | affected |
| 13 | mariadb | affected |
| 14 | mariadb | 1:11.8.9+ds-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| mariadb | 1:11.8.9+ds-1 |
minimos 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| mariadb-10-11 | 10.11.19-r0 | |
| mariadb-11-4 | 11.4.13-r0 | |
| mariadb-11-8 | 11.8.9-r0 | |
| mariadb-12-3 | 12.3.3-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libmariadbd-devel +9 | 12.3.2-3.1 | openSUSE-SU-2026:12245-1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-107818
- github.com https://github.com/MariaDB/server/commit/e3d62d4e78fd4941cef3f5053e6a50d0b32d740e
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2
- github.com https://github.com/MariaDB/server/security/advisories/GHSA-mhvc-vqcq-7vq5
- jira.mariadb.org https://jira.mariadb.org/browse/MDEV-40629
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.