Skip to content
Heist/ feed
Back to feed
HighFix available

MariaDB: environment injection via wsrep bootstrap in the mariadb.service file

Type: advisorySources: OSV

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.

Products
mariadb
Affected versions
Not specified
Fixed versions
10.11.19, 10.6.28, 11.4.13, 11.8.9, 12.3.3, 13.0.2
CVEs
CVE-2026-107818
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 20:02 UTC · Revision 1

Source evidence

MariaDB: environment injection via wsrep bootstrap in the mariadb.service file

core-osv · Original source

Published 16 Oct 2026, 08:41 UTC

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.

osv:BIT-mariadb-2026-107818

mariadb

Fixed versions: 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2

Complete source record
{
  "id": "e9b831506ca87f0e193f27b91c1881a6f622dae7276f955118f81c898894f3ca",
  "url": "https://osv.dev/vulnerability/BIT-mariadb-2026-107818",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MariaDB: environment injection via wsrep bootstrap in the mariadb.service file",
    "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 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.",
    "evidence": "osv:BIT-mariadb-2026-107818",
    "products": [
      {
        "name": {
          "value": "mariadb",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.6.28",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "10.11.19",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "11.4.13",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "11.8.9",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "12.3.3",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "13.0.2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "BIT-mariadb-2026-107818",
      "aliases": [
        "BIT-mariadb-2026-107818",
        "BIT-mariadb-min-2026-107818",
        "BIT-mysql-client-2026-107818",
        "CVE-2026-107818",
        "GHSA-mhvc-vqcq-7vq5"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "10.6.1"
                },
                {
                  "fixed": "10.6.28"
                },
                {
                  "introduced": "10.11.1"
                },
                {
                  "fixed": "10.11.19"
                },
                {
                  "introduced": "11.4.1"
                },
                {
                  "fixed": "11.4.13"
                },
                {
                  "introduced": "11.8.1"
                },
                {
                  "fixed": "11.8.9"
                },
                {
                  "introduced": "12.3.1"
                },
                {
                  "fixed": "12.3.3"
                },
                {
                  "introduced": "13.0.1"
                },
                {
                  "fixed": "13.0.2"
                }
              ]
            }
          ],
          "package": {
            "name": "mariadb",
            "purl": "pkg:bitnami/mariadb",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V3",
              "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/mariadb/BIT-mariadb-2026-107818.json"
          }
        }
      ],
      "modified": "2026-10-16T09:56:06.760235914Z",
      "provider": "osv",
      "references": [
        "https://github.com/MariaDB/server/commit/e3d62d4e78fd4941cef3f5053e6a50d0b32d740e",
        "https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19",
        "https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28",
        "https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13",
        "https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9",
        "https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3",
        "https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2",
        "https://github.com/MariaDB/server/security/advisories/GHSA-mhvc-vqcq-7vq5",
        "https://jira.mariadb.org/browse/MDEV-40629",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-107818"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*"
        ],
        "severity": "High"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-107818",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 338745,
  "published_at": "2026-10-16T08:41:58.031+00:00"
}