{
  "id": "CVE-2026-107818",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-107818",
  "published_at": "2026-10-09T17:23:58.543Z",
  "title": "MariaDB: environment injection via wsrep bootstrap in the mariadb.service file",
  "vendor": "MariaDB",
  "product": "server",
  "cvss": {
    "score": 8.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-15",
  "cpes": [
    "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MariaDB",
        "product": "server",
        "ranges": [
          "\u003e= 10.6.1, \u003c 10.6.28",
          "\u003e= 10.11.1, \u003c 10.11.19",
          "\u003e= 11.4.1, \u003c 11.4.13",
          "\u003e= 11.8.1, \u003c 11.8.9",
          "\u003e= 12.3.1, \u003c 12.3.3",
          "\u003e= 13.0.1, \u003c 13.0.2"
        ],
        "fixed_in": [
          "10.6.28",
          "10.11.19",
          "11.4.13",
          "11.8.9",
          "12.3.3",
          "13.0.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade server to 10.6.28 or 10.11.19 or 11.4.13 or 11.8.9 or 12.3.3 or 13.0.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/MariaDB/server/security/advisories/GHSA-mhvc-vqcq-7vq5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/MariaDB/server/commit/e3d62d4e78fd4941cef3f5053e6a50d0b32d740e"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
