Description
MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. Prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9, ClientMessage.readPacket processes a server-initiated LOCAL INFILE protocol packet 0xfb without enforcing allowLocalInfile=false. When an application sends a LOAD DATA LOCAL INFILE COM_QUERY, a rogue or man-in-the-middle server can echo the same filename and cause the connector to transmit that file despite the disabled option. The server cannot redirect the request to an arbitrary path and can receive only the exact file already selected by the application, so exploitation requires an application that actively loads sensitive data over an untrusted connection. This issue is fixed in versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9.
Published: 2026-09-17
Score: 3.7 Low
EPSS: < 1% Very Low
KEV: No
Impact: Sensitive Data Exposure
Action: Assess Impact
AI Analysis

Impact

MariaDB Connector/J fails to enforce the allowLocalInfile=false configuration when handling server‑initiated LOCAL INFILE packets. A compromised or rogue MariaDB server can echo the exact filename requested by a Java application that issues a LOAD DATA LOCAL INFILE COM_QUERY, and the driver will transmit that file to the client even though the local‑infile option is intended to be disabled. The server cannot redirect the request to an arbitrary path, so the disclosure is limited to files that the application is actively loading, resulting in the exposure of sensitive data that is already being processed by the client.

Affected Systems

The vulnerability affects MariaDB Corporation’s MariaDB Connector/J driver for Java. All releases prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9 are affected. Versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9 or later contain the fix.

Risk and Exploitability

The CVSS score of 3.7 indicates moderate risk, while the EPSS score of less than 1% suggests a very low probability of exploitation at present. The vulnerability is not listed in CISA’s KEV catalog, implying no documented widespread attacks. Exploitation requires a malicious or compromised database server and an application that performs a LOAD DATA LOCAL INFILE request over an untrusted connection, which limits real‑world attack likelihood.

Generated by OpenCVE AI on September 20, 2026 at 04:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MariaDB Connector/J to version 2.7.14, 3.3.5, 3.4.3, 3.5.9, or later to receive the official fix.
  • Configure the client application to set allowLocalInfile=false whenever local file loading is not required.
  • Disable or restrict the LOCAL INFILE protocol on the MariaDB server through server‑side settings to prevent server‑initiated transfers.
  • Monitor database traffic for unexpected LOCAL INFILE packets or anomalous file names as an early indication of potential exploitation.

Generated by OpenCVE AI on September 20, 2026 at 04:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-wxmm-q36w-r9xj MariaDB Connector/J does not enforce allowLocalInfile=false on server-initiated LOCAL INFILE requests
History

Mon, 21 Sep 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 19 Sep 2026 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Mariadb
Mariadb connector-j
Vendors & Products Mariadb
Mariadb connector-j

Thu, 17 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
Description MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. Prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9, ClientMessage.readPacket processes a server-initiated LOCAL INFILE protocol packet 0xfb without enforcing allowLocalInfile=false. When an application sends a LOAD DATA LOCAL INFILE COM_QUERY, a rogue or man-in-the-middle server can echo the same filename and cause the connector to transmit that file despite the disabled option. The server cannot redirect the request to an arbitrary path and can receive only the exact file already selected by the application, so exploitation requires an application that actively loads sensitive data over an untrusted connection. This issue is fixed in versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9.
Title MariaDB Connector/J does not enforce allowLocalInfile=false on server-initiated LOCAL INFILE requests
Weaknesses CWE-284
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

Mariadb Connector-j
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-21T20:51:21.195Z

Reserved: 2026-07-10T18:51:13.919Z

Link: CVE-2026-61700

cve-icon Vulnrichment

Updated: 2026-09-21T20:51:15.778Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-17T16:17:33.723

Modified: 2026-09-23T18:12:04.247

Link: CVE-2026-61700

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T05:00:13Z

Weaknesses