MariaDB Connector/J does not enforce allowLocalInfile=false on server-initiated LOCAL INFILE requests
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-284.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MariaDB | mariadb-connector-j | before 2.7.14; 3.0.0 to before 3.3.5; 3.4.0 to before 3.4.3; 3.5.0 to before 3.5.9 | 2.7.14, 3.3.5, 3.4.3, 3.5.9 | Patch available | CNA |
| — | org.mariadb.jdbc:mariadb-java-client (Maven) | before 2.7.14 | 2.7.14 | Patch available | GHSA-wxmm-q36w-r9xj |
| — | org.mariadb.jdbc:mariadb-java-client (Maven) | 3.0.0 to before 3.3.5 | 3.3.5 | Patch available | GHSA-wxmm-q36w-r9xj |
| — | org.mariadb.jdbc:mariadb-java-client (Maven) | 3.4.0 to before 3.4.3 | 3.4.3 | Patch available | GHSA-wxmm-q36w-r9xj |
| — | org.mariadb.jdbc:mariadb-java-client (Maven) | 3.5.0 to before 3.5.9 | 3.5.9 | Patch available | GHSA-wxmm-q36w-r9xj |
- mariadb-connector-j VendorMariaDB Affected before 2.7.14; 3.0.0 to before 3.3.5; 3.4.0 to before 3.4.3; 3.5.0 to before 3.5.9 Fixed in 2.7.14, 3.3.5, 3.4.3, 3.5.9 Patch available CNA
- org.mariadb.jdbc:mariadb-java-client (Maven) Vendor— Affected before 2.7.14 Fixed in 2.7.14 Patch available GHSA-wxmm-q36w-r9xj
- org.mariadb.jdbc:mariadb-java-client (Maven) Vendor— Affected 3.0.0 to before 3.3.5 Fixed in 3.3.5 Patch available GHSA-wxmm-q36w-r9xj
- org.mariadb.jdbc:mariadb-java-client (Maven) Vendor— Affected 3.4.0 to before 3.4.3 Fixed in 3.4.3 Patch available GHSA-wxmm-q36w-r9xj
- org.mariadb.jdbc:mariadb-java-client (Maven) Vendor— Affected 3.5.0 to before 3.5.9 Fixed in 3.5.9 Patch available GHSA-wxmm-q36w-r9xj
Remediation
- Fix · CNA mariadb-connector-j (mariadb-corporation) Fixed in 2.7.14, 3.3.5, 3.4.3, 3.5.9
- Fix · GHSA-wxmm-q36w-r9xj org.mariadb.jdbc:mariadb-java-client (Maven) Fixed in 2.7.14 Advisory →
- Fix · GHSA-wxmm-q36w-r9xj org.mariadb.jdbc:mariadb-java-client (Maven) Fixed in 3.3.5 Advisory →
- Fix · GHSA-wxmm-q36w-r9xj org.mariadb.jdbc:mariadb-java-client (Maven) Fixed in 3.4.3 Advisory →
- Fix · GHSA-wxmm-q36w-r9xj org.mariadb.jdbc:mariadb-java-client (Maven) Fixed in 3.5.9 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2026-61700
- 2026-10-03 Alias added: GHSA-wxmm-q36w-r9xj
- 2026-10-20 Affected versions changed · Red Hat
- 2026-10-20 CVSS score added · Red Hat
References
Other 4
- https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-wxmm-q36w-r9xj
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/0205d8be947918566cd9ce5a9db149541bbc8dee
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.9
- https://github.com/mariadb-corporation/mariadb-connector-j
More MariaDB vulnerabilities
- TI-2023-11776 MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via… CVSS 3.1CRITICAL 9.8
- TI-2016-05707 Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB… CVSS 3.0CRITICAL 9.8
- TI-2022-00687 Infinite loop in BN_mod_sqrt() reachable when parsing certificates CVSS 3.1HIGH 7.5
- TI-2014-00217 OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly… CVSS 3.1HIGH 7.4
- TI-2014-00188 The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0… CVSS 2.0MEDIUM 6.8
- TI-2018-15259 zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if… CVSS 3.1HIGH 7.5
Sources
- CVE-2026-61700 · CVE Program
- CVE-2026-61700 · NVD
- FIRST EPSS
- GHSA-wxmm-q36w-r9xj · GitHub Advisory Database · CC BY 4.0
- CVE-2026-61700 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences