Description
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, PAM dialog authentication can be coerced into transmitting the account password over an insecure connection. The mysql_clear_password plugin is gated behind a secure transport, but the sibling PAM handler SendPamAuthPacketFactory, named dialog by the server, does not declare that requirement and inherits the default secure-required value false; older branches implement the same affected behavior in SendPamAuthPacket. A hostile or man-in-the-middle server can send an Authentication Switch Request for dialog over plain TCP, causing the driver to return the user's password in cleartext when sslMode=DISABLE and restrictedAuth=null, which is the default configuration. Properly verified TLS and local Unix sockets are not exposed to this transport vector. This issue is fixed in versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9.
Published: 2026-08-28
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in MariaDB Connector/J allows a server to intentionally trigger the driver to transmit user passwords in cleartext. Prior to versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9, the driver’s PAM dialog authentication helper does not enforce a secure transport. When a client connects with sslMode set to DISABLE and restrictedAuth set to null (the default), a malicious or compromised server can send an Authentication Switch Request that causes the driver to send the password in plain TCP. This flaw represents a cleartext transmission of sensitive information (CWE‑319) and insufficiently protected credentials (CWE‑522), potentially enabling credential theft without granting further system access.

Affected Systems

MariaDB Corporation’s MariaDB Connector/J is affected in all branches older than the following releases: 2.7.14, 3.3.5, 3.4.3, and 3.5.9. The product is used by Java applications that connect to MariaDB or MySQL databases and relies on the driver’s default authentication mechanisms.

Risk and Exploitability

The CVSS score of 5.9 indicates a moderate severity. Because the flaw is triggered by a server‑initiated authentication switch and requires the client to be configured with sslMode=DISABLE, the practical exploitation likelihood depends on the attacker’s ability to act as a man‑in‑the‑middle or compromise the database server. The EPSS score is unavailable and the vulnerability is not listed in the CISA KEV catalog, suggesting no widespread large‑scale exploitation yet. Still, any environment that permits unencrypted connections and uses the default dialog authentication poses a credential disclosure risk that should be addressed promptly.

Generated by OpenCVE AI on August 29, 2026 at 00:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update MariaDB Connector/J to version 2.7.14 or later (or 3.3.5, 3.4.3, 3.5.9) to obtain the fix that enforces secure transport for PAM authentication.
  • Configure the driver to require TLS by setting sslMode to "REQUIRED" or "VERIFY_CA" (or use local Unix sockets) so that no password is sent over plain TCP.
  • If patching is not immediately possible, disable the dialog authentication path by setting restrictedAuth to a non‑null value or otherwise preventing the driver from using the insecure SendPamAuthPacketFactory.

Generated by OpenCVE AI on August 29, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-qxvw-fvwx-5cp7 org.mariadb.jdbc:mariadb-java-client has Cleartext Transmission of Sensitive Information and Insufficiently Protected Credentials
History

Fri, 28 Aug 2026 23:00:00 +0000

Type Values Removed Values Added
Description 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, PAM dialog authentication can be coerced into transmitting the account password over an insecure connection. The mysql_clear_password plugin is gated behind a secure transport, but the sibling PAM handler SendPamAuthPacketFactory, named dialog by the server, does not declare that requirement and inherits the default secure-required value false; older branches implement the same affected behavior in SendPamAuthPacket. A hostile or man-in-the-middle server can send an Authentication Switch Request for dialog over plain TCP, causing the driver to return the user's password in cleartext when sslMode=DISABLE and restrictedAuth=null, which is the default configuration. Properly verified TLS and local Unix sockets are not exposed to this transport vector. This issue is fixed in versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9.
Title MariaDB Connector/J: Cleartext Transmission of Sensitive Information and Insufficiently Protected Credentials
Weaknesses CWE-319
CWE-522
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-28T22:44:24.351Z

Reserved: 2026-06-17T16:44:40.995Z

Link: CVE-2026-55857

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T23:17:08.680

Modified: 2026-08-28T23:17:08.680

Link: CVE-2026-55857

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-29T00:30:17Z

Weaknesses
  • CWE-319

    Cleartext Transmission of Sensitive Information

  • CWE-522

    Insufficiently Protected Credentials