{"api_version":"1","generated_at":"2026-10-09T21:32:41+00:00","cve":"CVE-2026-107822","urls":{"html":"https://cve.report/CVE-2026-107822","api":"https://cve.report/api/cve/CVE-2026-107822.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-107822","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107822"},"summary":{"title":"MariaDB: database privilege escalation via user / role name collision in the acl cache","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-10-09 18:17:04","updated_at":"2026-10-09 18:17:04"},"problem_types":["CWE-706","CWE-863","CWE-706 CWE-706: Use of Incorrectly-Resolved Name or Reference","CWE-863 CWE-863: Incorrect Authorization"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"6.4","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","baseScore":6.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"6.4","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.4,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28","name":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/security/advisories/GHSA-2m85-2x26-36rf","name":"https://github.com/MariaDB/server/security/advisories/GHSA-2m85-2x26-36rf","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","name":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9","name":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/commit/67ea07dd3400004e4f7ae01bf977f4344bbe064b","name":"https://github.com/MariaDB/server/commit/67ea07dd3400004e4f7ae01bf977f4344bbe064b","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://jira.mariadb.org/browse/MDEV-40541","name":"https://jira.mariadb.org/browse/MDEV-40541","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19","name":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","name":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13","name":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-107822","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107822","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 10.6.1, < 10.6.28","platforms":[]},{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 10.11.1, < 10.11.19","platforms":[]},{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 11.4.1, < 11.4.13","platforms":[]},{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 11.8.1, < 11.8.9","platforms":[]},{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 12.3.1, < 12.3.3","platforms":[]},{"source":"CNA","vendor":"MariaDB","product":"server","version":"affected >= 13.0.1, < 13.0.2","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"server","vendor":"MariaDB","versions":[{"status":"affected","version":">= 10.6.1, < 10.6.28"},{"status":"affected","version":">= 10.11.1, < 10.11.19"},{"status":"affected","version":">= 11.4.1, < 11.4.13"},{"status":"affected","version":">= 11.8.1, < 11.8.9"},{"status":"affected","version":">= 12.3.1, < 12.3.3"},{"status":"affected","version":">= 13.0.1, < 13.0.2"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.4,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-706","description":"CWE-706: Use of Incorrectly-Resolved Name or Reference","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-09T17:28:47.578Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/MariaDB/server/security/advisories/GHSA-2m85-2x26-36rf","tags":["x_refsource_CONFIRM"],"url":"https://github.com/MariaDB/server/security/advisories/GHSA-2m85-2x26-36rf"},{"name":"https://github.com/MariaDB/server/commit/67ea07dd3400004e4f7ae01bf977f4344bbe064b","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/commit/67ea07dd3400004e4f7ae01bf977f4344bbe064b"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2"},{"name":"https://jira.mariadb.org/browse/MDEV-40541","tags":["x_refsource_MISC"],"url":"https://jira.mariadb.org/browse/MDEV-40541"}],"source":{"advisory":"GHSA-2m85-2x26-36rf","discovery":"UNKNOWN"},"title":"MariaDB: database privilege escalation via user / role name collision in the acl cache"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-107822","datePublished":"2026-10-09T17:28:47.578Z","dateReserved":"2026-10-08T21:23:59.823Z","dateUpdated":"2026-10-09T17:28:47.578Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-09 18:17:04","lastModifiedDate":"2026-10-09 18:17:04","problem_types":["CWE-706","CWE-863","CWE-706 CWE-706: Use of Incorrectly-Resolved Name or Reference","CWE-863 CWE-863: Incorrect Authorization"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","baseScore":6.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":0.5,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"107822","Ordinal":"1","Title":"MariaDB: database privilege escalation via user / role name coll","CVE":"CVE-2026-107822","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"107822","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"MariaDB: database privilege escalation via user / role name coll"}]}}}