Skip to content
Heist/ feed
Back to feed
MediumFix available

MariaDB: database privilege escalation via user / role name collision in the acl cache

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, MariaDB's ACL cache could generate the same database-privilege cache key for role and localhost user names that matched because both used an empty IP component. An attacker with CREATE USER could create the colliding principal and, when the original principal's database privileges were cached, exercise privileges assigned to the other account. 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-min
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-107822
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 20:01 UTC · Revision 1

Source evidence

MariaDB: database privilege escalation via user / role name collision in the acl cache

core-osv · Original source

Published 16 Oct 2026, 08:42 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, MariaDB's ACL cache could generate the same database-privilege cache key for role and localhost user names that matched because both used an empty IP component. An attacker with CREATE USER could create the colliding principal and, when the original principal's database privileges were cached, exercise privileges assigned to the other account. 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-min-2026-107822

mariadb-min

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

Complete source record
{
  "id": "23206aa31384faa92295b5bfeb1c7fbed3cacd293a7b80f9d809c51bb5069e7d",
  "url": "https://osv.dev/vulnerability/BIT-mariadb-min-2026-107822",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MariaDB: database privilege escalation via user / role name collision in the acl cache",
    "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, MariaDB's ACL cache could generate the same database-privilege cache key for role and localhost user names that matched because both used an empty IP component. An attacker with CREATE USER could create the colliding principal and, when the original principal's database privileges were cached, exercise privileges assigned to the other account. 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-min-2026-107822",
    "products": [
      {
        "name": {
          "value": "mariadb-min",
          "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": "medium",
    "structured": {
      "id": "BIT-mariadb-min-2026-107822",
      "aliases": [
        "BIT-mariadb-2026-107822",
        "BIT-mariadb-min-2026-107822",
        "BIT-mysql-client-2026-107822",
        "CVE-2026-107822",
        "GHSA-2m85-2x26-36rf"
      ],
      "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-min",
            "purl": "pkg:bitnami/mariadb-min",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V3",
              "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/mariadb-min/BIT-mariadb-min-2026-107822.json"
          }
        }
      ],
      "modified": "2026-10-16T09:55:38.480079944Z",
      "provider": "osv",
      "references": [
        "https://github.com/MariaDB/server/commit/67ea07dd3400004e4f7ae01bf977f4344bbe064b",
        "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-2m85-2x26-36rf",
        "https://jira.mariadb.org/browse/MDEV-40541",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-107822"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*"
        ],
        "severity": "Medium"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-107822",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 338685,
  "published_at": "2026-10-16T08:42:05.854+00:00"
}