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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.42% (percentile 28, 2026-11-26)
- **CWE:** CWE-778
- **Published:** 2026-03-03T18:12:12.361Z
- **Modified:** 2026-10-20T19:17:36.600Z

## Who should check

- Anyone running MariaDB Foundation MariaDB Server \< 10.6.25; \< 10.11.16; \< 11.4.10; \< 11.8.6
- Anyone running Amazon Aurora MySQL \< 2.12.6; \< 3.04.6; \< 3.10.3; \< 3.11.1
- Anyone running Amazon RDS for MySQL \< 5.7.44-RDS.20260212; \< 8.0.45; \< 8.4.8
- Anyone running Amazon RDS for MariaDB \< 10.6.25; \< 10.11.16; \< 11.4.10; \< 11.8.6

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

## Affected and fixed versions

- MariaDB Foundation MariaDB Server: \< 10.6.25; \< 10.11.16; \< 11.4.10; \< 11.8.6 (cvelist)
- Amazon Aurora MySQL: \< 2.12.6; \< 3.04.6; \< 3.10.3; \< 3.11.1 (cvelist)
- Amazon RDS for MySQL: \< 5.7.44-RDS.20260212; \< 8.0.45; \< 8.4.8 (cvelist)
- Amazon RDS for MariaDB: \< 10.6.25; \< 10.11.16; \< 11.4.10; \< 11.8.6 (cvelist)

## Mitigation

- Upgrade MariaDB Server to 11.8.6 or later.
- Upgrade Aurora MySQL to 3.11.1 or later.
- Upgrade RDS for MySQL to 8.4.8 or later.
- Upgrade RDS for MariaDB to 11.8.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-3494. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-3494.md
Affected: MariaDB Foundation MariaDB Server < 10.6.25; < 10.11.16; < 11.4.10; < 11.8.6; Amazon Aurora MySQL < 2.12.6; < 3.04.6; < 3.10.3; < 3.11.1; Amazon RDS for MySQL < 5.7.44-RDS.20260212; < 8.0.45; < 8.4.8; Amazon RDS for MariaDB < 10.6.25; < 10.11.16; < 11.4.10; < 11.8.6
Fixed in: MariaDB Foundation MariaDB Server 10.6.25, MariaDB Foundation MariaDB Server 10.11.16, MariaDB Foundation MariaDB Server 11.4.10, MariaDB Foundation MariaDB Server 11.8.6, Amazon Aurora MySQL 2.12.6, Amazon Aurora MySQL 3.04.6, Amazon Aurora MySQL 3.10.3, Amazon Aurora MySQL 3.11.1, Amazon RDS for …

Steps:
1. Search this machine and project for MariaDB Foundation MariaDB Server, Amazon Aurora MySQL, Amazon RDS for MySQL, Amazon RDS for MariaDB: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-3494 being exploited?

There is no confirmed exploitation: CVE-2026-3494 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-3494?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-3494?

MariaDB Foundation MariaDB Server \< 10.6.25; \< 10.11.16; \< 11.4.10; \< 11.8.6; Amazon Aurora MySQL \< 2.12.6; \< 3.04.6; \< 3.10.3; \< 3.11.1; Amazon RDS for MySQL \< 5.7.44-RDS.20260212; \< 8.0.45; \< 8.4.8; Amazon RDS for MariaDB \< 10.6.25; \< 10.11.16; \< 11.4.10; \< 11.8.6.

### Is there a fix for CVE-2026-3494?

Yes. Fixed in MariaDB Foundation MariaDB Server 10.6.25, MariaDB Foundation MariaDB Server 10.11.16, MariaDB Foundation MariaDB Server 11.4.10, MariaDB Foundation MariaDB Server 11.8.6, Amazon Aurora MySQL 2.12.6, Amazon Aurora MySQL 3.04.6, Amazon Aurora MySQL 3.10.3, Amazon Aurora MySQL 3.11.1, Amazon RDS for MySQL 5.7.44-RDS.20260212, Amazon RDS for MySQL 8.0.45, Amazon RDS for MySQL 8.4.8, Amazon RDS for MariaDB 10.6.25, Amazon RDS for MariaDB 10.11.16, Amazon RDS for MariaDB 11.4.10, Amazon RDS for MariaDB 11.8.6. Upgrade MariaDB Server to 11.8.6 or later. Upgrade Aurora MySQL to 3.11.1 or later. Upgrade RDS for MySQL to 8.4.8 or later. Upgrade RDS for MariaDB to 11.8.6 or later.

### How do I check if I'm affected by CVE-2026-3494?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://aws.amazon.com/security/security-bulletins/2026-006-AWS/>
- patch: <https://github.com/MariaDB/server/commit/635559a2ad68a5a6d1a354e8209c58323dba0261>
- patch: <https://github.com/aws/audit-plugin-for-mysql/commit/01e25a5cb1073f131eea774c06c8a056b1e4b2ff>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-3494>

HTML: <https://flawdb.com/CVE-2026-3494> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-3494>
