Unauthorized table access in MariaDB server through unescaped partition names

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-102523?

CVE-2026-102523 is a vulnerability classified as External Control of File Name or Path, affecting server (affected versions: >= 10.11.1, < 10.11.19, >= 11.4.1, < 11.4.13, and other affected versions). This vulnerability is rated High, with a CVSS score of 8. Current sources do not report this vulnerability as exploited.

Overview

Original source data

MariaDB server is a community developed fork of MySQL server. From 10.11.1 until 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, ALTER TABLE... CONVERT... PARTITION does not apply filename encoding to user-specified partition names before using them in filesystem path construction. An authenticated database user can use a partition name requiring filename escaping to make the conversion operate on table files the user is not authorized to access, allowing unauthorized table reads or modifications. This issue is fixed in versions 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.

Affected products and scope

Affected is MariaDB server on the maintained release branches the vendor names, in each case from the first affected release in that branch up to but not including the fixed release for the same branch. The exact version ranges are listed alongside this entry. Only installations where a user can run the affected ALTER TABLE... CONVERT... PARTITION statement with a partition name they control are exposed. The record does not identify any configuration that is unaffected for another reason, and it lists no other MariaDB products.

Technical details

The weakness is external control of a file name or path. When MariaDB executes ALTER TABLE... CONVERT... PARTITION, it takes the partition name supplied in the statement and uses it while constructing the filesystem path of the table files the operation will touch. The partition name is not passed through filename encoding first, so a name that requires escaping is used as given. Because the resulting path is built from that unencoded input, the conversion can resolve to table files that belong to a table other than the one the statement was aimed at. The record does not describe the specific characters involved or the internal path layout.

Exploitability

The vector is remote: the attacker reaches the database over the network. It requires a valid, authenticated database account with enough privilege to run the affected ALTER TABLE form, so anonymous or unauthenticated clients are not a path. The scoring records user interaction as required. There is no known exploitation in the wild and no public exploit code reported in the record, so this is currently a patching-cadence question rather than an incident.

Technical impact

An authenticated user gains the ability to make a table conversion read or write files associated with tables they are not authorized to access. Both disclosure and modification are possible, and because the operation runs inside the database server, the changes are made with the server's file access rather than the user's. The record does not describe whether this can reach files outside the data directory, so the practical scope should be treated as the table files the operation manipulates, not the whole filesystem.

Business impact

Anyone who can log in to the database and run the affected ALTER TABLE form can potentially reach table files belonging to other users or applications on the same server. On a shared MariaDB instance that can mean reading another tenant's or another department's data, or modifying it in ways the account was never granted. Data that was assumed to be separated by database privileges may not be. That turns into a confidentiality and integrity problem that may carry notification duties depending on what the database holds, and it undercuts the access model customers and internal teams were told was in place. Teams running multi-tenant databases, or databases where application accounts are given broad ALTER rights, should care most.

Remediation

Apply the fixed release for your branch. That is the only complete fix, because the correction is in how the server encodes partition names during path construction. If the upgrade has to wait, reduce the number of accounts that can run ALTER on partitioned tables and make sure users who can are ones you would trust with the files behind other tables on that server. That reduction is a precaution rather than a documented workaround, and it does not remove the flaw.

Detection

Check the running server version against the fixed releases. Review which accounts hold ALTER privileges on partitioned tables, especially accounts used by applications or by external or tenant users. If query logging is enabled, look for ALTER TABLE statements that include CONVERT and PARTITION and whose partition name contains characters a normal identifier would not need. On the host, look for unexpected access to table files by the database process, and treat unexplained changes to tables whose owners did not run any DDL as worth investigating.

Sources (15)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.