Privilege escalation in MariaDB via role and user name collision
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 5 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-863.
Summary
MariaDB server from 10.6.1 before 10.6.28, from 10.11.1 before 10.11.19, from 11.4.1 before 11.4.13, from 11.8.1 before 11.8.9, from 12.3.1 before 12.3.3, from 13.0.1 before 13.0.2 is affected. The ACL cache can give a role and a localhost user with matching names the same database privilege cache key (CWE-706). An attacker with CREATE USER privilege can create the colliding principal and use privileges granted to the other account.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MariaDB | server | 10.6.1 to before 10.6.28; 10.11.1 to before 10.11.19; 11.4.1 to before 11.4.13; 11.8.1 to before 11.8.9; 12.3.1 to before 12.3.3; 13.0.1 to before 13.0.2 | 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2 | Patch available | CNA |
- server VendorMariaDB Affected 10.6.1 to before 10.6.28; 10.11.1 to before 10.11.19; 11.4.1 to before 11.4.13; 11.8.1 to before 11.8.9; 12.3.1 to before 12.3.3; 13.0.1 to before 13.0.2 Fixed in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* | 10.6.1 to before 10.6.28; 10.11.1 to before 10.11.19; 11.4.1 to before 11.4.13; 11.8.1 to before 11.8.9; 12.3.1 to before 12.3.3; 13.0.1 to before 13.0.2 | Vulnerable | MariaDB |
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* Versions 10.6.1 to before 10.6.28; 10.11.1 to before 10.11.19; 11.4.1 to before 11.4.13; 11.8.1 to before 11.8.9; 12.3.1 to before 12.3.3; 13.0.1 to before 13.0.2 Vulnerable ·MariaDB
Remediation
Upgrade MariaDB server to 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3 or 13.0.2. Red Hat fixes Red Hat Hardened Images in RHSA-2026:83108 and RHSA-2026:84689. Red Hat Enterprise Linux 7, 8, 9 and 10 have no fix available, and Red Hat OpenStack Platform 13 (Queens) has no fix planned.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA server (MariaDB) Fixed in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2
Red Hat 2 advisories
- RHSA-2026:84689 Released 2026-10-19 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images mariadb11.8-3:11.8.9-0.1.hum1@aarch64, mariadb11.8-3:11.8.9-0.1.hum1@s390x, mariadb11.8-3:11.8.9-0.1.hum1@src +47
- RHSA-2026:83108 Released 2026-10-14 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images mariadb10.11-10.11.18-4.1.hum1@aarch64, mariadb10.11-10.11.18-4.1.hum1@s390x, mariadb10.11-10.11.18-4.1.hum1@src +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Out of support scope |
| Red Hat Hardened Images | Fixed | RHSA-2026:83108, RHSA-2026:84689 |
Timeline
- 2026-10-10 Threatist record created from CVE-2026-107822
- 2026-10-10 Affected versions changed · Red Hat
- 2026-10-10 CVSS score added · Red Hat
- 2026-10-11 Priority changed: MEDIUM → LOW
- 2026-10-13 CISA SSVC decision points changed
- 2026-10-16 Fix available: RHSA-2026:83108 · Red Hat
- 2026-10-16 Fix available: Red Hat Hardened Images · Red Hat
- 2026-10-20 Fix available: RHSA-2026:84689 · Red Hat
- 2026-10-20 Affected versions changed · Red Hat
References
Other 7
- 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://jira.mariadb.org/browse/MDEV-40541
More Mariadb vulnerabilities
- TI-2023-11776 MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via… CVSS 3.1CRITICAL 9.8
- TI-2016-05707 Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB… CVSS 3.0CRITICAL 9.8
- TI-2022-00687 Infinite loop in BN_mod_sqrt() reachable when parsing certificates CVSS 3.1HIGH 7.5
- TI-2014-00217 OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly… CVSS 3.1HIGH 7.4
- TI-2014-00188 The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0… CVSS 2.0MEDIUM 6.8
- TI-2018-15259 zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if… CVSS 3.1HIGH 7.5
Sources
- CVE-2026-107822 · CVE Program
- CVE-2026-107822 · NVD
- FIRST EPSS
- CVE-2026-107822 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences