CVE-2026-55857

MariaDB Connector/J: Cleartext Transmission of Sensitive Information and Insufficiently Protected Credentials

Published Aug 28, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Mariadb
Mariadb connector-j
Vendors & Products Mariadb
Mariadb connector-j
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-319

    Cleartext Transmission of Sensitive Information

  • CWE-522

    Insufficiently Protected Credentials

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 31, 2026, 6:22 PM
Reserved
Jun 17, 2026, 4:44 PM
Status
Awaiting Analysis
Published
Aug 28, 2026, 11:17 PM
Modified
Sep 8, 2026, 9:08 PM
Severity
Moderate
Public date
Aug 28, 2026, 10:44 PM