CVE-2026-3494
MariaDB: MariaDB: Information disclosure due to unlogged SQL statements with comments
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 4, 2026
Updated · July 3, 2026
Description
A flaw was found in MariaDB. An authenticated database user can exploit this vulnerability by invoking SQL statements prefixed with double-hyphen (—) or hash (#) style comments. When the server audit plugin is enabled with specific event filtering, these statements are not logged. This oversight can lead to critical database operations bypassing audit logging, hindering security monitoring and compliance.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE-1286 · Improper Validation of Syntactic Correctness of Input