CVE-2026-3494
MariaDB Server Audit Plugin Comment Handling Bypass
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.
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
Vulnerability facts
- 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 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
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- 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:NOpen in CVSS calculator
Show all 11 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
- EPSS
- 0.42% chance of exploitation in 30 days (percentile 28, 2026-11-26)
- CWE
- CWE-778
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
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.