Description
MariaDB Connector/R2DBC is a non-blocking MariaDB and MySQL client implemented in Java. Prior to 1.4.1, org.mariadb:r2dbc-mariadb does not gate clear-text password authentication plugins on transport encryption because the AuthenticationPlugin interface has no capability for a plugin to require a secure connection. A hostile or man-in-the-middle MariaDB server can send an AuthSwitchRequest naming mysql_clear_password or dialog (PAM) over a plain-TCP unencrypted connection, and AuthenticationFlow permits ClearPasswordPluginFlow or PamPluginFlow to return the user's password as cleartext bytes on the wire. The disclosed credentials can subsequently be used to authenticate directly to the database server. This issue is fixed in version 1.4.1.
Published: 2026-08-28
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

MariaDB Connector/R2DBC allows cleartext password disclosure without requiring a secure transport. Prior to version 1.4.1, clear‑text authentication plugins such as mysql_clear_password and dialog (PAM) can be invoked over plain TCP, causing the client to transmit the user’s password as raw bytes. Attackers who can intercept or control the server can then capture these credentials and use them to authenticate to the database directly, potentially gaining unauthorized access. The flaw is classified as CWE‑319 (Cleartext Transmission of Sensitive Information) and CWE‑522 (Insufficiently Protected Credentials).

Affected Systems

Affected products include MariaDB Connector/R2DBC libraries from MariaDB Corporation (mariadb-connector-r2dbc) and the community artifact org.mariadb:r2dbc-mariadb. The vulnerability is present in all releases before 1.4.1; upgrading to 1.4.1 or later eliminates the issue.

Risk and Exploitability

The vulnerability carries a CVSS score of 5.9, indicating moderate severity. EPSS data is not available, so the current exploitation probability cannot be quantified. The flaw is not listed in CISA’s KEV catalog. The most likely attack vector involves a man‑in‑the‑middle or hostile MariaDB server that sends an AuthSwitchRequest to trigger the clear‑text authentication plugin over an unencrypted channel. Exploitation requires that the client connects via plain TCP to the database; if transports are encrypted, the flaw cannot be leveraged.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade MariaDB Connector/R2DBC to version 1.4.1 or later to disable clear‑text password plugins over non‑encrypted transport
  • If upgrading is not immediately possible, restrict the connector’s use to networks where TLS or other transport security is enforced, effectively blocking the clear‑text authentication path
  • Configure the client to reject AuthSwitchRequest messages that request clear‑text plugins and ensure that only secure transports are used for database connections

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

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-c857-9x2m-cvh2 org.mariadb:r2dbc-mariadb vulnerable to cleartext password disclosure to a man-in-the-middle server (clear-text auth plugins not gated on a secure transport)
History

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

Type Values Removed Values Added
Description MariaDB Connector/R2DBC is a non-blocking MariaDB and MySQL client implemented in Java. Prior to 1.4.1, org.mariadb:r2dbc-mariadb does not gate clear-text password authentication plugins on transport encryption because the AuthenticationPlugin interface has no capability for a plugin to require a secure connection. A hostile or man-in-the-middle MariaDB server can send an AuthSwitchRequest naming mysql_clear_password or dialog (PAM) over a plain-TCP unencrypted connection, and AuthenticationFlow permits ClearPasswordPluginFlow or PamPluginFlow to return the user's password as cleartext bytes on the wire. The disclosed credentials can subsequently be used to authenticate directly to the database server. This issue is fixed in version 1.4.1.
Title MariaDB Connector/R2DBC: Cleartext password disclosure to a man-in-the-middle server (clear-text auth plugins not gated on a secure transport)
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:50:30.896Z

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

Link: CVE-2026-55860

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-55860

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