Public vulnerability disclosure

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

publishedCWE-20CWE-73

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.

Technical severity5.9 mediumCVSS 3.1 · CNA: GitHub_M
Published2026-10-29Source updated 2026-11-03
Collected2026-11-034 attributed sources

Fixes and workarounds

Fix

org.mariadb.jdbc:mariadb-java-client (Maven): OSV reports a fixed version 3.3.7. Check the advisory for supported release branches.

Source: OSV GHSA-fhx5-2xqw-2cgm

Fix

org.mariadb.jdbc:mariadb-java-client (Maven): OSV reports a fixed version 3.4.5. Check the advisory for supported release branches.

Source: OSV GHSA-fhx5-2xqw-2cgm

Fix

org.mariadb.jdbc:mariadb-java-client (Maven): OSV reports a fixed version 3.5.11. Check the advisory for supported release branches.

Source: OSV GHSA-fhx5-2xqw-2cgm

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
mariadb-connector-j
mariadb-corporation
>= 3.0.0, < 3.3.7 (affected)
>= 3.4.0, < 3.4.5 (affected)
>= 3.5.0, < 3.5.11 (affected)
CNA: GitHub_M
org.mariadb.jdbc:mariadb-java-client

org.mariadb.jdbc:mariadb-java-client
Maven
3.0.1-beta (affected, Maven)
3.0.10 (affected, Maven)
3.0.11 (affected, Maven)
3.0.2-rc (affected, Maven)
3.0.3 (affected, Maven)
3.0.4 (affected, Maven)
3.0.5 (affected, Maven)
3.0.6 (affected, Maven)
3.0.7 (affected, Maven)
3.0.8 (affected, Maven)
3.0.9 (affected, Maven)
3.1.0 (affected, Maven)
3.1.1 (affected, Maven)
3.1.2 (affected, Maven)
3.1.3 (affected, Maven)
3.1.4 (affected, Maven)
3.2.0 (affected, Maven)
3.3.0 (affected, Maven)
3.3.1 (affected, Maven)
3.3.2 (affected, Maven)
3.3.3 (affected, Maven)
3.3.4 (affected, Maven)
3.3.5 (affected, Maven)
3.3.6 (affected, Maven)
Ecosystem version events: introduced 3.0.0; fixed 3.3.7
Source events (ECOSYSTEM)
[
  {
    "introduced": "3.0.0"
  },
  {
    "fixed": "3.3.7"
  }
]

Other versions: unaffected
OSV GHSA-fhx5-2xqw-2cgm
org.mariadb.jdbc:mariadb-java-client

org.mariadb.jdbc:mariadb-java-client
Maven
3.4.0 (affected, Maven)
3.4.1 (affected, Maven)
3.4.2 (affected, Maven)
3.4.3 (affected, Maven)
3.4.4 (affected, Maven)
Ecosystem version events: introduced 3.4.0; fixed 3.4.5
Source events (ECOSYSTEM)
[
  {
    "introduced": "3.4.0"
  },
  {
    "fixed": "3.4.5"
  }
]

Other versions: unaffected
OSV GHSA-fhx5-2xqw-2cgm
org.mariadb.jdbc:mariadb-java-client

org.mariadb.jdbc:mariadb-java-client
Maven
3.5.0 (affected, Maven)
3.5.1 (affected, Maven)
3.5.10 (affected, Maven)
3.5.2 (affected, Maven)
3.5.3 (affected, Maven)
3.5.4 (affected, Maven)
3.5.5 (affected, Maven)
3.5.6 (affected, Maven)
3.5.7 (affected, Maven)
3.5.8 (affected, Maven)
3.5.9 (affected, Maven)
Ecosystem version events: introduced 3.5.0; fixed 3.5.11
Source events (ECOSYSTEM)
[
  {
    "introduced": "3.5.0"
  },
  {
    "fixed": "3.5.11"
  }
]

Other versions: unaffected
OSV GHSA-fhx5-2xqw-2cgm

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 5.9
medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NCNA: GitHub_M
3.1 / 5.9
medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide