CVE-2026-3494MariaDB Server Audit Plugin Comment Handling Bypass
In MariaDB server version through 11.8.5, when server audit plugin is enabled with server_audit_events variable configured with QUERY_DCL, QUERY_DDL, or QUERY_DML filtering, if an authenticated database user invokes a SQL statement prefixed with double-hyphen (—) or hash (#) style comments, the statement is not logged.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | mariadb | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | mariadb | Under investigation | UBUNTU-CVE-2026-3494 | |
| Ubuntu 22.04 | mariadb-10.6 | Under investigation | UBUNTU-CVE-2026-3494 | |
| Ubuntu 20.04 | mariadb-10.3 | Fix pending | UBUNTU-CVE-2026-3494 | |
| Ubuntu 18.04 | mariadb-10.1 | Fix pending | UBUNTU-CVE-2026-3494 | |
| Ubuntu 16.04 | mariadb-10.0 | Fix pending | UBUNTU-CVE-2026-3494 | |
| Debian 14 | mariadb | Fixed | 1:11.8.6-1 | DEBIAN-CVE-2026-3494 |
| Debian 13 | mariadb | Fixed | 1:11.8.6-0+deb13u1 | DEBIAN-CVE-2026-3494 |
| Debian 12 | mariadb | Fixed | 1:10.11.18-0+deb12u1 | DEBIAN-CVE-2026-3494 |
| Red Hat Enterprise Linux 10 | mariadb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-backup | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-client-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-embedded | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-embedded-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-errmsg | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-gssapi-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-oqgraph-engine | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-pam | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-server-galera | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-server-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-test | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb10.11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-backup | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-client-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-embedded | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-embedded-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-errmsg | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-gssapi-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-oqgraph-engine | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-pam | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-server-galera | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-server-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb11.8-test | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-backup | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-embedded | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-embedded-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-errmsg | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-gssapi-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-oqgraph-engine | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-pam | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-server-galera | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-server-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-test | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | Judy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | galera | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-backup | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-embedded | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-embedded-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-errmsg | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-gssapi-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-oqgraph-engine | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-pam | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-server-galera | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-server-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mariadb-test | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | mariadb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | mariadb-bench | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | mariadb-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | mariadb-embedded | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | mariadb-embedded-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | mariadb-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | mariadb-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | mariadb-test | Fix pending Fix deferred | ||
| Alpine Linux 3.24 | mariadb | Fixed | 11.8.6-r0 | ALPINE-CVE-2026-3494 |
| Alpine Linux 3.23 | mariadb | Fixed | 11.4.10-r0 | ALPINE-CVE-2026-3494 |
| Alpine Linux 3.22 | mariadb | Fixed | 11.4.10-r0 | ALPINE-CVE-2026-3494 |
| Alpine Linux 3.21 | mariadb | Fixed | 11.4.10-r0 | ALPINE-CVE-2026-3494 |
| Alpine Linux 3.20 | mariadb | Fixed | 10.11.16-r0 | ALPINE-CVE-2026-3494 |
What the vendor says
As published in the CVE record by AMZN, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- MariaDB Foundation MariaDB Server: affected: before 10.6.25, before 10.11.16, before 11.4.10, before 11.8.6; fixed in
10.6.25,10.11.16,11.4.10,11.8.6 - Amazon Aurora MySQL: affected: before 2.12.6, before 3.04.6, before 3.10.3, before 3.11.1; fixed in
2.12.6,3.04.6,3.10.3,3.11.1 - Amazon RDS for MySQL: affected: before 5.7.44-RDS.20260212, before 8.0.45, before 8.4.8; fixed in
5.7.44-RDS.20260212,8.0.45,8.4.8 - Amazon RDS for MariaDB: affected: before 10.6.25, before 10.11.16, before 11.4.10, before 11.8.6; fixed in
10.6.25,10.11.16,11.4.10,11.8.6
Vendor advisories:
- https://aws.amazon.com/security/security-bulletins/2026-006-AWS/ (vendor-advisory)
- https://github.com/MariaDB/server/commit/635559a2ad68a5a6d1a354e8209c58323dba0261 (patch)
- https://github.com/aws/audit-plugin-for-mysql/commit/01e25a5cb1073f131eea774c06c8a056b1e4… (patch)
References
- https://aws.amazon.com/security/security-bulletins/2026-006-AWS/
- https://github.com/MariaDB/server/commit/635559a2ad68a5a6d1a354e8209c58323dba0261
- https://github.com/aws/audit-plugin-for-mysql/commit/01e25a5cb1073f131eea774c06c8a056b1e4b2ff
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.