org.mariadb.jdbc:mariadb-java-client · MariaDB Connector/J: LOAD DATA LOCAL INFILE file check could be satisfied by text inside quoted identifiers, letting a
Affects org.mariadb.jdbc:mariadb-java-clientSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium : upgrade to 3.3.7 when convenient.
Data as of 31 Oct 2026, 02:06 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.9 |
|---|
- Patch
- Available – fixed in 3.3.7, 3.4.5, 3.5.11
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade org.mariadb.jdbc:mariadb-java-client to 3.3.7; org.mariadb.jdbc:mariadb-java-client to 3.4.5; org.mariadb.jdbc:mariadb-java-client to 3.5.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Mavenorg.mariadb.jdbc:mariadb-java-client | Affected
| Fixed in
|
| Mavenorg.mariadb.jdbc:mariadb-java-client | Affected
| Fixed in
|
| Mavenorg.mariadb.jdbc:mariadb-java-client | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in MariaDB Connector/J versions 3.3.7, 3.4.5, and 3.5.11 that fixes this vulnerability by properly parsing and validating LOAD DATA LOCAL INFILE commands. Users should upgrade to one of these fixed versions. As a workaround, if LOAD DATA LOCAL INFILE functionality is not needed, setting allowLocalInfile=false disables the feature and mitigates the risk.
Description
MariaDB Connector/J versions before 3.3.7, 3.4.5, and 3.5.11 improperly validate LOAD DATA LOCAL INFILE file requests by searching for the file name text anywhere in the SQL command, including inside quoted identifiers and comments. This flaw allows a malicious or compromised server, or a man-in-the-middle, to trick the client into sending arbitrary local files readable by the JVM to the server. The vulnerability affects standard JDBC calls such as DatabaseMetaData.getImportedKeys() and getExportedKeys(). A fix is available that properly parses the SQL command to validate the file request.
References
- github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-fhx5-2xqw-2cgm (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-119210 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/commit/4d2f8002399949ed7f138e9c0b75b69229538120 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/commit/5812e0ca7574c3934915179b76f2e819a556d099 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/commit/a4891f877f1c885a573194771c1ed0aacec0ce1d (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11 (opens in a new tab)