CVE-2026-55857: Mariadb java client Mariadb-java-client Has Cleartext Transmission Of Vulnerability
MODERATECVE-2026-55857 is a MODERATE (CVSS 5.9) mariadb-java-client has cleartext transmission of vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting Mariadb java client libraries in the Maven ecosystem. The issue involves mariadb-java-client has cleartext transmission of sensitive information and insufficiently protected credentials. Remediation is available by upgrading affected packages to version 2.7.14, 3.3.5, 3.4.3, 3.5.9.
CVE-2026-55857 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-55857
To remediate this vulnerability, upgrade all affected Mariadb java client dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>2.7.14</version>
</dependency>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.3.5</version>
</dependency>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.4.3</version>
</dependency>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.5.9</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.mariadb.jdbc
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-55857, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.mariadb.jdbc
Analyze the terminal output to locate any version of Mariadb java client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.14), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.mariadb.jdbc command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-319: Cleartext Transmission of Sensitive Information, where the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors. In Mariadb java client, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-55857 Affected Mariadb java client Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.mariadb.jdbc:mariadb-java-client
|
Maven |
< 2.7.14
|
2.7.14
|
|
org.mariadb.jdbc:mariadb-java-client
|
Maven |
≥ 3.0.0
< 3.3.5
|
3.3.5
|
|
org.mariadb.jdbc:mariadb-java-client
|
Maven |
≥ 3.4.0
< 3.4.3
|
3.4.3
|
|
org.mariadb.jdbc:mariadb-java-client
|
Maven |
≥ 3.5.0
< 3.5.9
|
3.5.9
|
References
Frequently Asked Questions
What is CVE-2026-55857?
Which Mariadb java client versions are affected?
What version fixes CVE-2026-55857?
Is mariadb-java-client affected?
What is the CVSS score of CVE-2026-55857?
What CWE is associated with CVE-2026-55857?
How can I check Maven dependencies for CVE-2026-55857?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qxvw-fvwx-5cp7",
"modified" : "2026-08-28T22:45:01Z",
"published" : "2026-08-28T22:45:01Z",
"aliases" : [ "CVE-2026-55857" ],
"summary" : "org.mariadb.jdbc:mariadb-java-client has Cleartext Transmission of Sensitive Information and Insufficiently Protected Credentials",
"details" : "### Summary\n\nWhen PAM (dialog) authentication is used, the connector can be coerced into sending the account password in cleartext over an insecure connection. A hostile or man-in-the-middle server can trigger this with the default configuration, disclosing the user's password.\n\n### Details\n\nThe mysql_clear_password plugin is gated behind a secure connection: the driver refuses to transmit the password in cleartext over plain TCP. The sibling PAM plugin handler (SendPamAuthPacketFactory, server-side plugin name dialog) did not override that gate and inherited the default value false, so it was not subject to the same secure-transport requirement.\n\nAs a result, a hostile or man-in-the-middle server can issue an Authentication Switch Request for the dialog plugin over plain TCP, and the driver responds with the user's password in cleartext. With the default configuration (sslMode=DISABLE, restrictedAuth=null) this is reachable with no non-default options.\n\n### Am I affected?\n\nYou are affected if all of the following hold:\n\n\n* You use mariadb Connector/J at a version below the patched release(s).\n* Connections can occur over an insecure transport — i.e. plain TCP (sslMode=DISABLE), or a TLS mode that establishes server identity only via self-signed-certificate fingerprint validation.\n* An attacker can occupy an on-path (MITM) position, or otherwise cause the client to connect to a server they control, and present an Authentication Switch Request for the dialog plugin.\n\nConnections over properly verified TLS or a local Unix socket are not exposed to this vector.\n\n### Impact\n\nDisclosure of the authenticating account's password in cleartext to an on-path or hostile server. The captured credentials can then be reused to authenticate to the database.\n\n### Patches\n\nFixed in 2.7.14, 3.3.5, 3.4.3, and 3.5.9. Upgrade to the patched release on your branch (3.5.x → 3.5.9, 3.4.x → 3.4.3, 3.0/3.1/3.2/3.3.x → 3.3.5, 2.x → 2.7.14). PAM (dialog) is now treated exactly like mysql_clear_password: it may only run over a secure transport. SendPamAuthPacketFactory overrides the secure-required flag to true, and the authentication dispatcher permits a secure-required plugin only when the connection is TLS or a local Unix socket. The pre-existing check that blocks non-MITM-proof plugins when server identity relies solely on self-signed-certificate fingerprint validation continues to apply. Net effect: PAM is allowed over TLS or a Unix socket, and rejected over plain TCP or fingerprint-only connections.\n\n### Workarounds\n\nIf you cannot upgrade immediately:\n\n* Connect over verified TLS (set sslMode=verify-full) so a man-in-the-middle cannot impersonate the server, or use a local Unix socket.\n* Restrict the permitted authentication plugins via restrictedAuth so dialog cannot be negotiated over an insecure transport.\n\n\n### Credit\n\nReported by Yalguun Tumenkhuu ([@fg0x0](https://github.com/fg0x0/)).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.mariadb.jdbc:mariadb-java-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.7.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.mariadb.jdbc:mariadb-java-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.3.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.mariadb.jdbc:mariadb-java-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.4.0"
}, {
"fixed" : "3.4.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.mariadb.jdbc:mariadb-java-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.5.0"
}, {
"fixed" : "3.5.9"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-qxvw-fvwx-5cp7"
}, {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-j/commit/a8599ab1cbe4b8818ea945bf56a4e012c302b388"
}, {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-j/commit/f4a727c764d1cf48fd0c3d5e301dfa92503e0a58"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-j"
}, {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.3"
}, {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.9"
}, {
"type" : "WEB",
"url" : "https://jira.mariadb.org/browse/CONJ-1320"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-319", "CWE-522" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-28T22:45:01Z",
"nvd_published_at" : null
}
}