CVE-2026-119210: MariaDB Connector/J: LOAD DATA LOCAL INFILE file check could be satisfied by text inside quoted identifiers, letting a malicious server read client files
MariaDB Connector/J checked a server’s LOAD DATA LOCAL INFILE file request by
searching the text of the command it had sent for
LOAD DATA LOCAL INFILE '<file>'. The search also matched inside quoted
identifiers, string literals and comments, so text returned by the server and
re-used in a later query could satisfy it. A rogue or MitM server can read any
file the client JVM can read.
References
- github.com/advisories/GHSA-fhx5-2xqw-2cgm
- github.com/mariadb-corporation/mariadb-connector-j/commit/4d2f8002399949ed7f138e9c0b75b69229538120
- github.com/mariadb-corporation/mariadb-connector-j/commit/5812e0ca7574c3934915179b76f2e819a556d099
- github.com/mariadb-corporation/mariadb-connector-j/commit/a4891f877f1c885a573194771c1ed0aacec0ce1d
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11
- github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-fhx5-2xqw-2cgm
- nvd.nist.gov/vuln/detail/CVE-2026-119210
Code Behaviors & Features
Detect and mitigate CVE-2026-119210 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →