---
id: CVE-2026-107818
title: MariaDB server is a community developed fork of MySQL server
summary: >-
  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 databa…
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-15
vendor: mariadb
product: mariadb
affected:
  - 'mariadb >= 10.6.1, < 10.6.28'
  - 'mariadb >= 10.11.1, < 10.11.19'
  - 'mariadb >= 11.4.1, < 11.4.13'
  - 'mariadb >= 11.8.1, < 11.8.9'
  - 'mariadb >= 12.3.1, < 12.3.3'
  - 'mariadb >= 13.0.1, < 13.0.2'
patched:
  - mariadb 13.0.2
published: '2026-10-09'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T14:12:57.550'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107818'
references:
  - url: >-
      https://github.com/MariaDB/server/commit/e3d62d4e78fd4941cef3f5053e6a50d0b32d740e
    label: security-advisories@github.com
  - url: 'https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19'
    label: security-advisories@github.com
  - url: 'https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28'
    label: security-advisories@github.com
  - url: 'https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13'
    label: security-advisories@github.com
  - url: 'https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9'
    label: security-advisories@github.com
  - url: 'https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3'
    label: security-advisories@github.com
  - url: 'https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2'
    label: security-advisories@github.com
  - url: 'https://github.com/MariaDB/server/security/advisories/GHSA-mhvc-vqcq-7vq5'
    label: security-advisories@github.com
  - url: 'https://jira.mariadb.org/browse/MDEV-40629'
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-107818.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-107818'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2548736'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-107818'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107818'
  - url: 'https://access.redhat.com/errata/RHSA-2026:83108'
  - url: 'https://access.redhat.com/errata/RHSA-2026:84689'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.00401
epssPercentile: 0.3421
ingestedAt: '2026-10-09T19:09:33.752Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-14T02:02:24.799855Z'
---

## Overview

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

- `mariadb >= 10.6.1, < 10.6.28`
- `mariadb >= 10.11.1, < 10.11.19`
- `mariadb >= 11.4.1, < 11.4.13`
- `mariadb >= 11.8.1, < 11.8.9`
- `mariadb >= 12.3.1, < 12.3.3`
- `mariadb >= 13.0.1, < 13.0.2`

## Remediation

Upgrade past the affected range:

- `mariadb 13.0.2`

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenStack Platform 13 (Queens) · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, … · updated 2026-10-26 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-107818.json)
- **RHSA-2026:83108** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:83108)
- **RHSA-2026:84689** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:84689)
