Vulnerability
CVE-2026-119210
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.
69 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-34r2-4g96-7368
- CGA-3rr6-rj49-r664
- CGA-3vgx-grcv-g3w2
- CGA-47pv-cxmf-hc6w
- CGA-4x65-vgpq-q9wc
- CGA-53gg-gccg-27xq
- CGA-56m6-xc59-97qv
- CGA-5r66-jjg8-4rq5
- CGA-5x77-9hg5-j66q
- CGA-66mr-47x9-qr45
- CGA-67w7-hj7x-pxhc
- CGA-6rqp-phfv-cx23
- CGA-6rr8-mqp3-pwhx
- CGA-73c2-8p6m-962f
- CGA-75w2-8xpr-m6fq
- CGA-7v44-qpmm-cm79
- CGA-85hf-pccv-qprv
- CGA-8f66-gqq8-6mjg
- CGA-8gm6-mj99-wv2h
- CGA-8wrw-hxx9-jg78
- CGA-95xw-qx5g-mxhr
- CGA-9mwg-rp2q-5cpp
- CGA-9vpj-349f-wmff
- CGA-9w4m-c347-f4xm
- CGA-c4w3-cg2m-c2r7
- CGA-c6rr-6w78-gf3h
- CGA-cg2h-92vr-cwxh
- CGA-f4pj-hh48-crc4
- CGA-f7gg-fg9c-693w
- CGA-fqc5-mvj4-xq8x
- CGA-fw9f-qwjw-x67w
- CGA-g7hv-j8h9-fj97
- CGA-gcrh-5ghh-46r6
- CGA-gh84-vvx5-42fj
- CGA-h554-rm4v-fqhf
- CGA-hc77-pc3c-xmwc
- CGA-hv4c-c9jh-vr37
- CGA-hw9h-hgcj-gmc8
- CGA-j2r4-xq77-vrp9
- CGA-j6mr-682x-gp8v
- CGA-j9c8-ggxw-xg7x
- CGA-jfpf-7723-xv27
- CGA-jjm6-8mcq-vfp3
- CGA-jjpr-8f66-f7mh
- CGA-jmgh-m932-g83p
- CGA-m35r-xx79-5fp6
- CGA-mv8c-p67x-jwmc
- CGA-p49x-3w6j-8f59
- CGA-pgjm-32fq-j448
- CGA-pm66-43xc-8849
- CGA-px87-gpg2-9x2q
- CGA-q859-rmf6-qw46
- CGA-qvw9-2q87-67m5
- CGA-r3j3-pwrv-mh8h
- CGA-r72h-6p2h-qv5r
- CGA-vqfw-mxhr-w4hg
- CGA-w2vj-24ff-5j2x
- CGA-w33h-8853-rhm5
- CGA-w3hr-q5mh-r3w4
- CGA-wp43-46qw-g7p8
- CGA-wx5j-vxvr-7895
- CGA-xr44-8q22-rjwx
- CGA-xrp5-5prr-f5g7
- CGA-xvxc-fq4g-x625
-
DEBIAN-CVE-2026-119210
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…
-
GHSA-fhx5-2xqw-2cgm
MariaDB Connector/J: LOAD DATA LOCAL INFILE file check could be satisfied by text inside quoted identifiers, letting a malicious server read client files
-
RHVEX-CVE-2026-119210
org.mariadb.jdbc/mariadb-java-client: MariaDB Connector/J: Information disclosure via bypass of local file validation
-
UBUNTU-CVE-2026-119210
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…
-
openSUSE-SU-2026:12401-1
mariadb-java-client-3.5.11-1.1 on GA media
References
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/4d2f8002399949ed7f138e9c0b75b69229538120
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/5812e0ca7574c3934915179b76f2e819a556d099
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/a4891f877f1c885a573194771c1ed0aacec0ce1d
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11
- https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-fhx5-2xqw-2cgm