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

- Severity: High 8.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-10-09T17:23:58.543Z
- Modified: 2026-10-16T09:56:06.760Z
- Also known as: BIT-MARIADB-2026-107818, BIT-MARIADB-MIN-2026-107818, BIT-MYSQL-CLIENT-2026-107818, GHSA-mhvc-vqcq-7vq5
- Weaknesses: CWE-15
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- MariaDB server: >= 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; >= 13.0.1, < 13.0.2
- mariadb mariadb: from 10.6.1 before 10.6.28; from 10.11.1 before 10.11.19; from 11.4.1 before 11.4.13; from 11.8.1 before 11.8.9; from 12.3.1 before 12.3.3; from 13.0.1 before 13.0.2
- mariadb (Bitnami): from 10.6.1 before 10.6.28; from 10.11.1 before 10.11.19; from 11.4.1 before 11.4.13; from 11.8.1 before 11.8.9; from 12.3.1 before 12.3.3; from 13.0.1 before 13.0.2
- mariadb-min (Bitnami): from 10.6.1 before 10.6.28; from 10.11.1 before 10.11.19; from 11.4.1 before 11.4.13; from 11.8.1 before 11.8.9; from 12.3.1 before 12.3.3; from 13.0.1 before 13.0.2
- mysql-client (Bitnami): from 10.6.1 before 10.6.28; from 10.11.1 before 10.11.19; from 11.4.1 before 11.4.13; from 11.8.1 before 11.8.9; from 12.3.1 before 12.3.3; from 13.0.1 before 13.0.2

## Every score

- GitHub_M: CVSS:3.1 8.4 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/MariaDB/server/security/advisories/GHSA-mhvc-vqcq-7vq5> (advisory, vendor-advisory)
- <https://github.com/MariaDB/server/commit/e3d62d4e78fd4941cef3f5053e6a50d0b32d740e> (fix, patch)
- <https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19> (article, release-notes)
- <https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28> (article, release-notes)
- <https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13> (article, release-notes)
- <https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9> (article, release-notes)
- <https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3> (article, release-notes)
- <https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2> (article, release-notes)
- <https://jira.mariadb.org/browse/MDEV-40629> (issue-tracking, report)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-107818> (web)

## Sources

- CVE List: [CVE-2026-107818](https://www.cve.org/CVERecord?id=CVE-2026-107818), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2026-107818](https://nvd.nist.gov/vuln/detail/CVE-2026-107818), Public domain, modified 2026-10-14
- Bitnami Vulnerability Database: [BIT-MARIADB-2026-107818](https://osv.dev/vulnerability/BIT-MARIADB-2026-107818), Apache-2.0, modified 2026-10-16
- Bitnami Vulnerability Database: [BIT-MARIADB-MIN-2026-107818](https://osv.dev/vulnerability/BIT-MARIADB-MIN-2026-107818), Apache-2.0, modified 2026-10-16
- Bitnami Vulnerability Database: [BIT-MYSQL-CLIENT-2026-107818](https://osv.dev/vulnerability/BIT-MYSQL-CLIENT-2026-107818), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-107818 · Whole record: https://cve.day/CVE-2026-107818.json · Rebuilt by cve.day 2026-11-25T22:59:43.343Z
