Skip to main content

MariaDB Connector/J EUVDEUVD-2026-81903

| CVE-2026-61700 LOW
Improper Access Control (CWE-284)
2026-09-17 GitHub_M GHSA-wxmm-q36w-r9xj
3.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain rogue/MITM position on DB connection
  2. Delivery
    App issues LOAD DATA LOCAL INFILE for sensitive file
  3. Exploit
    Server echoes 0xfb infile request
  4. Execution
    Connector transmits file ignoring allowLocalInfile=false
  5. Impact
    Attacker 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

mariadb-connector-j 3.0.0, < 3.3.5
mariadb-connector-j 3.5.0, < 3.5.9
mariadb-connector-j < 2.7.14
mariadb-connector-j 3.4.0, < 3.4.3

Affected Packages

maven org.mariadb.jdbc:mariadb-java-client fix: 2.7.14, 3.3.5, 3.4.3, 3.5.9
euvd mariadb_connector_j fix: 2.7.14, 3.3.5, 3.4.3, 3.5.9

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

Vendor (GitHub_M) PRIMARY 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 3.7 LOW

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Sep 17, 2026 - 17:19 EUVD

DescriptionCVE.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

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
widely-used but not ubiquitous Java JDBC driver for MariaDB/MySQL
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy