Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain rogue/MITM position on DB connection
-
DeliveryApp issues LOAD DATA LOCAL INFILE for sensitive file
-
ExploitServer echoes 0xfb infile request
-
ExecutionConnector transmits file ignoring allowLocalInfile=false
-
ImpactAttacker reads leaked file contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires ALL of: (1) a MariaDB Connector/J version prior to 2.7.14/3.3.5/3.4.3/3.5.9; (2) an attacker who controls the database server or holds a man-in-the-middle position on the connection (e.g., no TLS or defeated TLS); and (3) the victim application actively issuing a LOAD DATA LOCAL INFILE COM_QUERY that references a sensitive local file - the flaw only surfaces the exact file the application already selected and cannot be redirected to arbitrary paths. Key limiting factors: even with allowLocalInfile=false set (the mitigation users would expect to protect them), the pre-patch connector still complies, but the attacker gains nothing unless the app organically loads sensitive data over the untrusted link, which sharply narrows real-world applicability. |
| Impact | This is a genuinely low-priority, high-conditionality issue rather than a widespread threat. The vendor CVSS of 3.7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N) is well-supported: although the attack vector is network (a rogue or man-in-the-middle server), attack complexity is High because the attacker must both occupy a privileged position on the connection AND rely on the victim application itself issuing a LOAD DATA LOCAL INFILE query that references a sensitive file. Impact is capped at C:L with no integrity or availability effect, because the description confirms the server cannot redirect to an arbitrary path and can only receive the exact file the application already selected. There is no EPSS score, no CISA KEV listing, and no public exploit provided in the input - so this carries no signal of active or imminent exploitation. PR:N is technically correct (the connector does not authenticate the malicious server before processing the 0xfb packet), but the practical gate is the application's own behavior, not attacker privilege. No conflicting signals across sources; all point to a niche, targeted, low-severity information-disclosure weakness. |
| Exploit ScenarioDerived | An application configured with allowLocalInfile=false connects to a MariaDB/MySQL database over an untrusted or attacker-controlled path and legitimately issues a LOAD DATA LOCAL INFILE COM_QUERY referencing a sensitive local file. A rogue or man-in-the-middle server echoes back that same filename in a 0xfb LOCAL INFILE request packet, and the pre-patch connector transmits the file contents despite the option being disabled, leaking that one file to the attacker. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
MariaDB Connector/J versions prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9 can be tricked into transmitting a locally selected file to a rogue or man-in-the-middle database server even when the allowLocalInfile option is explicitly set to false, because the connector processes a server-initiated LOCAL INFILE packet (0xfb) without honoring that setting. The exposure is narrow: the attacker can only receive the exact file the application already chose to load via a LOAD DATA LOCAL INFILE COM_QUERY, cannot redirect the request to an arbitrary path, and gains nothing unless the application organically loads sensitive data over an untrusted connection - so this is a low-severity (CVSS 3.7), highly conditional information-disclosure issue rather than a widespread threat. The vulnerability is unauthenticated at the network layer per the vector (PR:N) but requires high attack complexity (AC:H) and control of the server or the connection path; no public exploit code has been identified at time of analysis, and the flaw is fixed in the four versions listed above.
RemediationAI
Upgrade MariaDB Connector/J to the vendor-released patched version appropriate for your line: 2.7.14 for the 2.x series, or 3.3.5, 3.4.3, or 3.5.9 for the 3.x series (reference the advisory https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-wxmm-q36w-r9xj and the fix commit https://github.com/mariadb-corporation/mariadb-connector-j/commit/0205d8be947918566cd9ce5a9db149541bbc8dee, included in the 3.5.9 tag). Because the pre-patch driver ignores allowLocalInfile=false, do not treat that setting as a mitigation on unpatched versions. Until upgrades can be completed, avoid issuing LOAD DATA LOCAL INFILE queries over connections that are not fully trusted - its removal eliminates the only trigger, since the attack cannot fabricate or redirect a filename - and enforce TLS with strict server certificate validation so a man-in-the-middle position cannot be established (note this does not defend against a genuinely rogue server endpoint the application has been pointed at). Application-level controls that restrict which files any LOAD DATA LOCAL INFILE statement can name reduce the value of the single file an attacker could otherwise capture, at the cost of additional query-construction overhead.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MariaDB Connector/J is the Type 4 JDBC driver that Java applications use to talk to MariaDB and MySQL servers over the native wire protocol. The affected code lives in ClientMessage.readPacket (src/main/java/org/mariadb/jdbc/message/ClientMessage.java), the routine that handles packets the server sends during a query exchange. The protocol reserves packet type 0xfb for the LOCAL INFILE request: when a client issues COM_QUERY with LOAD DATA LOCAL INFILE, a compliant server replies with 0xfb plus a filename, and the client is expected to stream that file's bytes back. MariaDB Connector/J exposes the allowLocalInfile configuration flag, and CLIENT_LOCAL_FILES is only advertised to the server when that flag is enabled. The bug is a CWE-284 improper access control failure: pre-patch code branched to validateLocalFileName but never first checked context.getConf().allowLocalInfile(), so a server that sent 0xfb anyway was obeyed. The upstream fix (commit 0205d8be947918566cd9ce5a9db149541bbc8dee, shipped in the 3.5.9 release tag) inserts an allowLocalInfile() gate ahead of the filename validation and interrupts the command with SQLSTATE HY000 and the message 'Server asked for a local infile ... Possible malicious server. Command interrupted' when the client never advertised the capability.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
AC:H because attacker needs MITM/rogue-server position plus app-initiated LOAD DATA LOCAL INFILE of a sensitive file; PR:N as connector processes the packet without authenticating the server; C:L only (single preselected file), no I/A impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-81903
GHSA-wxmm-q36w-r9xj
NVD
CVE.org
EPSS
Exploit-DB