MariaDB: database privilege escalation via user / role name collision in the acl cache
Summary
| CVE | CVE-2026-107822 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-09 18:17:04 UTC |
| Updated | 2026-10-09 18:17:04 UTC |
| 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, 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. |
Risk And Classification
Primary CVSS: v3.1 6.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Problem Types: CWE-706 | CWE-863 | CWE-706 CWE-706: Use of Incorrectly-Resolved Name or Reference | CWE-863 CWE-863: Incorrect Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 6.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
HighUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | MariaDB | Server | affected >= 10.6.1, < 10.6.28 | Not specified |
| CNA | MariaDB | Server | affected >= 10.11.1, < 10.11.19 | Not specified |
| CNA | MariaDB | Server | affected >= 11.4.1, < 11.4.13 | Not specified |
| CNA | MariaDB | Server | affected >= 11.8.1, < 11.8.9 | Not specified |
| CNA | MariaDB | Server | affected >= 12.3.1, < 12.3.3 | Not specified |
| CNA | MariaDB | Server | affected >= 13.0.1, < 13.0.2 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/MariaDB/server/releases/tag/mariadb-10.6.28 | [email protected] | github.com | |
| github.com/MariaDB/server/security/advisories/GHSA-2m85-2x26-36rf | [email protected] | github.com | |
| github.com/MariaDB/server/releases/tag/mariadb-13.0.2 | [email protected] | github.com | |
| github.com/MariaDB/server/releases/tag/mariadb-11.8.9 | [email protected] | github.com | |
| github.com/MariaDB/server/commit/67ea07dd3400004e4f7ae01bf977f4344bbe064b | [email protected] | github.com | |
| jira.mariadb.org/browse/MDEV-40541 | [email protected] | jira.mariadb.org | |
| github.com/MariaDB/server/releases/tag/mariadb-10.11.19 | [email protected] | github.com | |
| github.com/MariaDB/server/releases/tag/mariadb-12.3.3 | [email protected] | github.com | |
| github.com/MariaDB/server/releases/tag/mariadb-11.4.13 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.