Insufficient Logging Affecting MariaDB/server package, versions [,10.6.25)[10.7.1, 10.11.16)[11.0.1, 11.4.10)[11.5.0, 11.8.6)[12.0.1, 12.2.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Logging vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MARIADBSERVER-15372216
  • published5 Mar 2026
  • disclosed3 Mar 2026
  • creditUnknown

Introduced: 3 Mar 2026

CVE-2026-3494  (opens in a new tab)
CWE-778  (opens in a new tab)

How to fix?

Upgrade MariaDB/server to version 10.6.25, 10.11.16, 11.4.10, 11.8.6, 12.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Logging in the log_statement_ex function. An attacker can hide information from logs by executing SQL statements prefixed with comment characters -- or #, which are not logged by the server_audit plugin.

Workaround

This vulnerability can be mitigated by disabling the MariaDB Server Audit Plugin if its current behavior is not suitable for your auditing requirements. Modify your MariaDB configuration file to set server_audit_logging=OFF within the [mariadb] section and restart the MariaDB service.

CVSS Base Scores

version 4.0
version 3.1