# CVE-2026-44169: MariaDB Server authorization bypass in stored routine definitions

Source: https://junglewise.ai/threats/cve-2026-44169-mariadb-server-authorization-bypass-in-stored-routine-definitions  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-12. Updated: 2026-06-12  
License: CC BY 4.0 with a link back

CVE-2026-44169 · Severity: medium · CVSS 4.3 · Published 2026-06-12

MariaDB Server is a widely used open-source database system. A security flaw in its permission system allows users who have been granted permission to run a specific database routine via a 'role' to also view the underlying source code of that routine, even if they were specifically denied viewing rights. This could lead to the exposure of sensitive business logic or internal database structures contained within the routine's definition.

Technologies: [MariaDB Foundation MariaDB Server](https://junglewise.ai/threats/technologies/mariadb-server). Vendors: [MariaDB Foundation](https://junglewise.ai/threats/vendors/mariadb-foundation).

## Quick answers

**Is CVE-2026-44169 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-44169 being exploited in the wild.

**How severe is CVE-2026-44169?** Medium severity, with a CVSS score of 4.3, published 12 June 2026.

**Which products and versions are affected?** MariaDB Foundation MariaDB Server 11.4.1 to 11.4.10, 11.8.1 to 11.8.6, 12.3.1.

**Is there a fix for CVE-2026-44169?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-44169 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-44169?** Check whether you run MariaDB Foundation MariaDB Server at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

An incorrect authorization vulnerability (CWE-863) exists in MariaDB Server's privilege system. When a user is granted EXECUTE privileges on a stored routine through a role rather than directly, the server fails to properly enforce the SHOW CREATE ROUTINE restriction. This allows an authenticated user with network access to the database to view the full routine definition (source code) by assuming the relevant role, bypassing intended confidentiality controls. The issue stems from the routine-level privilege check not correctly accounting for role-based inheritance during 'SHOW CREATE' operations. Patches are available in versions 11.4.11, 11.8.7, and 12.3.2.

## Affected products

- MariaDB MariaDB Server 11.4.1 to 11.4.10, 11.8.1 to 11.8.6, 12.3.1

## Timeline

- 2026-04-08: other: Issue reported internally in MariaDB Jira
- 2026-05-18: advisory: GitHub security advisory published
- 2026-06-12: disclosed: CVE published to NVD

## References

- [https://github.com/MariaDB/server/security/advisories/GHSA-22xq-vq3f-87x2](https://github.com/MariaDB/server/security/advisories/GHSA-22xq-vq3f-87x2)
- [https://jira.mariadb.org/browse/MDEV-39288](https://jira.mariadb.org/browse/MDEV-39288)

## Related threats

- [MariaDB Server incorrect authorization for FILE privilege in subqueries](https://junglewise.ai/threats/cve-2026-44173-mariadb-server-incorrect-authorization-for-file-privilege-in)
- [MariaDB OS command injection in CONNECT engine on Windows](https://junglewise.ai/threats/cve-2026-44170-mariadb-os-command-injection-in-connect-engine-on-windows)
- [MariaDB Server denial of service in caching_sha2_password plugin](https://junglewise.ai/threats/cve-2026-35549-mariadb-server-denial-of-service-in-caching-sha2-password-plugin)
- [MariaDB and Amazon RDS audit log bypass via SQL comment prefixing](https://junglewise.ai/threats/cve-2026-3494-mariadb-and-amazon-rds-audit-log-bypass-via-sql-comment-prefixing)
