CVE-2026-3494

MEDIUM LAB

MariaDB <=11.8.5 - Audit Log Bypass

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-3494. PoCs published by KKongTen.

AI-analyzed exploit summary This repository contains a functional PoC for CVE-2026-3494, demonstrating an audit logging bypass in MariaDB's server_audit plugin when specific inline comments are used in SQL queries. The PoC includes a Docker-based test environment and automated scripts to verify the vulnerability across multiple MariaDB versions.

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.

Exploits (1)

nomisec WORKING POC
by KKongTen · poc
https://github.com/KKongTen/CVE-2026-3494_Verfication

This repository contains a functional PoC for CVE-2026-3494, demonstrating an audit logging bypass in MariaDB's server_audit plugin when specific inline comments are used in SQL queries. The PoC includes a Docker-based test environment and automated scripts to verify the vulnerability across multiple MariaDB versions.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: MariaDB with server_audit plugin (versions 11.8.5 and below, including 10.x branches)
Auth required
Prerequisites: MariaDB server with server_audit plugin enabled · Docker environment for testing · Python dependencies (pymysql)
devstral-2 · analyzed May 04, 2026 Full analysis →

Scores

CVSS v3 4.3
EPSS 0.0027
EPSS Percentile 18.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Lab Environment

COMMUNITY
Community Lab
docker pull mariadb:10.3.39
docker pull mariadb:11.8.5
docker pull mariadb:11.8.6

Details

CWE
CWE-778
Status published
Products (20)
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/aurora_mysql 3.11.0
amazon/aurora_mysql < 2.12.5
Amazon/RDS for MariaDB 10.11.16
Amazon/RDS for MariaDB 10.6.25
Amazon/RDS for MariaDB 11.4.10
Amazon/RDS for MariaDB 11.8.6
... and 10 more
Published Mar 03, 2026
Tracked Since Mar 04, 2026