CVE-2026-119210
Published:October 29, 2026
Updated:October 31, 2026
MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7, 3.4.5, and 3.5.11, the ClientMessage.validateLocalFileName() check used a regular expression that could match LOAD DATA LOCAL INFILE text inside quoted identifiers, string literals, or comments instead of requiring a real statement. A malicious or compromised server, or a machine-in-the-middle attacker, could return crafted database or table identifiers that the connector reused in metadata or updatable-result queries, then answer with a LOCAL INFILE request for a client file. With allowLocalInfile enabled, this caused the connector to stream any readable client-host file named by the crafted text, including through DatabaseMetaData.getImportedKeys(), DatabaseMetaData.getExportedKeys(), or ResultSet.updateRow() paths. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.
Affected Packages
https://github.com/mariadb-corporation/mariadb-connector-j.git (GITHUB):
Affected version(s) >=3.0.0-alpha <3.3.7Fix Suggestion:
Update to version 3.3.7https://github.com/mariadb-corporation/mariadb-connector-j.git (GITHUB):
Affected version(s) >=3.4.0 <3.4.5Fix Suggestion:
Update to version 3.4.5https://github.com/mariadb-corporation/mariadb-connector-j.git (GITHUB):
Affected version(s) >=3.5.0 <3.5.11Fix Suggestion:
Update to version 3.5.11org.mariadb.jdbc:mariadb-java-client (JAVA):
Affected version(s) >=3.0.0-alpha <3.3.7Fix Suggestion:
Update to version 3.3.7org.mariadb.jdbc:mariadb-java-client (JAVA):
Affected version(s) >=3.5.0 <3.5.11Fix Suggestion:
Update to version 3.5.11org.mariadb.jdbc:mariadb-java-client (JAVA):
Affected version(s) >=3.4.0 <3.4.5Fix Suggestion:
Update to version 3.4.5Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
EPSS
Base Score:
0.30