CVE-2026-44173
Received Received - Intake
Privilege Escalation in MariaDB via File Write Bypass

Publication date: 2026-06-12

Last updated on: 2026-06-12

Assigner: GitHub, Inc.

Description
MariaDB server is a community developed fork of MySQL server. From versions 10.6.1 to before 10.6.26, 10.11.1 to before 10.11.17, 11.4.1 to before 11.4.11, 11.8.1 to before 11.8.7, and 12.3.1, MariaDB allowed SELECT ... INTO OUTFILE and SELECT ... INTO DUMPFILE without verifying the FILE privilege if the FROM clause contained only subqueries. This issue has been patched in versions 10.6.26, 10.11.17, 11.4.11, 11.8.7, and 12.3.2.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-12
Last Modified
2026-06-12
Generated
2026-06-13
AI Q&A
2026-06-12
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 10 associated CPEs
Vendor Product Version / Range
mariadb mariadb to 10.6.26 (exc)
mariadb mariadb to 10.11.17 (exc)
mariadb mariadb to 11.4.11 (exc)
mariadb mariadb to 11.8.7 (exc)
mariadb mariadb to 12.3.2 (exc)
mariadb mariadb From 10.6.1 (inc) to 10.6.26 (exc)
mariadb mariadb From 10.11.1 (inc) to 10.11.17 (exc)
mariadb mariadb From 11.4.1 (inc) to 11.4.11 (exc)
mariadb mariadb From 11.8.1 (inc) to 11.8.7 (exc)
mariadb mariadb 12.3
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability in MariaDB server occurs because the FILE privilege was not properly checked when executing SELECT ... INTO OUTFILE or SELECT ... INTO DUMPFILE statements if the FROM clause contained only subqueries (derived tables).

As a result, users without the FILE privilege could write files to the server's filesystem, which should normally be restricted.

This issue affected multiple MariaDB versions and was patched in later releases.

Impact Analysis

The vulnerability allows an attacker with low privileges and network access to write files to the server's filesystem without proper authorization.

This could lead to potential data corruption, unauthorized file creation, or other impacts related to unauthorized file writes.

However, the vulnerability does not directly impact confidentiality or integrity of data, but availability could be affected.

Detection Guidance

This vulnerability can be detected by attempting to execute SELECT ... INTO OUTFILE or SELECT ... INTO DUMPFILE statements where the FROM clause contains only subqueries or derived tables, and observing if the command succeeds without the FILE privilege.

A test query similar to the one described in the bug report would be to run a SELECT ... INTO OUTFILE statement from a derived table and check if it succeeds or returns an access denied error (ER_ACCESS_DENIED_ERROR).

  • Example command to test (run as a user without FILE privilege): SELECT * INTO OUTFILE '/tmp/testfile' FROM (SELECT 1) AS derived_table;

If the command succeeds without proper FILE privilege, the system is vulnerable.

Mitigation Strategies

Immediate mitigation steps include upgrading MariaDB to a patched version where this vulnerability is fixed. The patched versions are 10.6.26, 10.11.17, 11.4.11, 11.8.7, and 12.3.2.

Additionally, ensure that filesystem permissions and the --secure-file-priv option are properly configured to restrict file writing operations, which can help mitigate the risk even if the vulnerability exists.

Review and restrict user privileges, especially the FILE privilege, to minimize potential exploitation.

Compliance Impact

This vulnerability allows users without the FILE privilege to write files to the server's filesystem by exploiting improper authorization checks in SELECT ... INTO OUTFILE or SELECT ... INTO DUMPFILE statements with subqueries. Such unauthorized file writes could potentially lead to data leakage or unauthorized data manipulation.

While the CVE description and resources do not explicitly mention compliance with standards like GDPR or HIPAA, the ability for unauthorized users to write files on the server could impact data security and integrity requirements mandated by these regulations.

Organizations subject to GDPR, HIPAA, or similar regulations should consider this vulnerability a risk to their data protection controls, as it may allow unauthorized data exposure or modification, thereby affecting compliance.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-44173. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart