{"id":"CVE-2026-61700","aliases":["GHSA-wxmm-q36w-r9xj"],"url":"https://o3.security/vulnerability/CVE-2026-61700","summary":"MariaDB Connector/J does not enforce allowLocalInfile=false  on server-initiated LOCAL INFILE requests","details":"## Summary\n\nMariaDB Connector/J does not enforce `allowLocalInfile=false` when \nprocessing server-initiated LOCAL INFILE requests (protocol packet \ntype `0xfb`). However, exploitation is constrained: the server can \nonly request the exact filename the client already included in its \n`LOAD DATA LOCAL INFILE` query, it cannot redirect to arbitrary paths.\n\n## Details\n\nWhen a client executes `LOAD DATA LOCAL INFILE '/path/to/file'`, the \nconnector sends the filename to the server as part of the COM_QUERY. \nA rogue or MitM server responds with a `0xfb` packet echoing that \nsame filename. The connector, without checking `allowLocalInfile`, \ntransmits the file content.\n\nThe bypass is therefore limited to the file the application itself \nintended to load. The attacker cannot escalate to other files \n(e.g. `/etc/passwd`) unless the application's own query targets them.\n\nThe real-world risk is:\n- An application that uses `LOAD DATA LOCAL INFILE` on potentially \n  sensitive files (credentials, exports, configs) and connects over \n  an untrusted network.\n- `allowLocalInfile=false` is supposed to disable this entire \n  mechanism as a defense-in-depth measure, but the flag is ignored.\n\n## Impact\n\nThe security guarantee of `allowLocalInfile=false` is not upheld, \nbut practical exploitation requires both a MitM/rogue server and an \napplication that actively uses LOCAL INFILE on sensitive data.\n\n## Credit\n\nReported by tharavel","published":"2026-09-17T15:49:15.207Z","modified":"2026-10-28T10:55:04.350383469Z","cvss":{"score":3.7,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":{"score":0.00366,"percentile":0.31259,"asOf":"2026-11-20"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.mariadb.jdbc:mariadb-java-client","fixedVersion":"2.7.14"},{"ecosystem":"Maven","name":"org.mariadb.jdbc:mariadb-java-client","fixedVersion":"3.3.5"},{"ecosystem":"Maven","name":"org.mariadb.jdbc:mariadb-java-client","fixedVersion":"3.4.3"},{"ecosystem":"Maven","name":"org.mariadb.jdbc:mariadb-java-client","fixedVersion":"3.5.9"}],"fix":{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/commit/0205d8be947918566cd9ce5a9db149541bbc8dee","label":"mariadb-corporation/mariadb-connector-j@0205d8b"},"references":[{"type":"WEB","url":"https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61700.json"},{"type":"ADVISORY","url":"https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-wxmm-q36w-r9xj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61700"},{"type":"FIX","url":"https://github.com/mariadb-corporation/mariadb-connector-j/commit/0205d8be947918566cd9ce5a9db149541bbc8dee"},{"type":"PACKAGE","url":"https://github.com/mariadb-corporation/mariadb-connector-j"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T10:55:04.350383469Z"}}