CVE-2026-61700MariaDB Connector/J does not enforce allowLocalInfile=false on server-initiated LOCAL…
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mariadb-connector-java | Fix pending | UBUNTU-CVE-2026-61700 | |
| Ubuntu 26.04 | mariadb-connector-java | Under investigation | UBUNTU-CVE-2026-61700 | |
| Ubuntu 24.04 | mariadb-connector-java | Under investigation | UBUNTU-CVE-2026-61700 | |
| Ubuntu 22.04 | mariadb-connector-java | Under investigation | UBUNTU-CVE-2026-61700 | |
| Ubuntu 20.04 | mariadb-connector-java | Fix pending | UBUNTU-CVE-2026-61700 | |
| Ubuntu 18.04 | mariadb-connector-java | Fix pending | UBUNTU-CVE-2026-61700 | |
| Debian 14 | mariadb-connector-java | Fixed | 2.7.15-1 | DEBIAN-CVE-2026-61700 |
| Debian 13 | mariadb-connector-java | Fix pending | DEBIAN-CVE-2026-61700 | |
| Maven library | org.mariadb.jdbc:mariadb-java-client | Fixed | 3.5.9 | GHSA-wxmm-q36w-r9xj |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mariadb-corporation mariadb-connector-j: affected: < 2.7.14, >= 3.0.0, < 3.3.5, >= 3.4.0, < 3.4.3, >= 3.5.0, < 3.5.9
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.