Skip to main content

MariaDB Connector/R2DBC CVE-2026-55860

MEDIUM
Cleartext Transmission of Sensitive Information (CWE-319)
2026-08-28 GitHub_M GHSA-c857-9x2m-cvh2
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Attain MITM or rogue server position
  2. Delivery
    Accept application TCP connection to database endpoint
  3. Exploit
    Send forged AuthSwitchRequest naming mysql_clear_password
  4. Execution
    Client transmits password as cleartext bytes over unencrypted connection
  5. Persist
    Capture plaintext password from TCP stream
  6. Impact
    Authenticate directly to legitimate database server with captured credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V12 - Secure Communication Transport encryption
Exploitation Conditions

Two conditions must be simultaneously true: the application must use org.mariadb:r2dbc-mariadb in a version prior to 1.4.1, AND the database connection must be over plain TCP without TLS (sslMode set to DISABLE, absent, or defaulting to disabled) and without a Unix domain socket. The attacker must actively send a forged AuthSwitchRequest naming mysql_clear_password or dialog during the authentication handshake - passive traffic interception alone is insufficient because the exploit requires the attacker to control or impersonate the server-side of the TCP connection. No special server-side plugin configuration is required on the legitimate server; the rogue or MITM server controls the plugin selection entirely. Exploitation is blocked when TLS with certificate verification (VERIFY_CA or VERIFY_FULL) is in use, because the driver's post-fix isSecureConnection() check - and even pre-fix, an encrypted channel - prevents password exposure. Authentication level per CVSS PR:N indicates no attacker-side authentication is required.

Impact

The CVSS 3.1 score of 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) accurately reflects the real-world risk profile: the High attack complexity metric is the dominant mitigating factor, as exploitation requires the attacker to hold a network MITM position between the Java application and its database server, or to control a rogue endpoint that the application connects to. This is a meaningful technical barrier that rules out opportunistic, untargeted exploitation. No CISA KEV listing and no public POC were identified in the input data, and no EPSS score was provided. Despite this, the confidentiality impact is categorically High - a single successful exploit yields the user's plaintext database password, enabling direct authentication to the database server with those credentials. Organizations running Java applications that connect to MariaDB or MySQL over unencrypted TCP and rely on PAM or mysql_clear_password authentication bear the highest exposure; environments already enforcing TLS (VERIFY_CA or VERIFY_FULL) are effectively not vulnerable regardless of driver version.

Exploit ScenarioDerived

An attacker with a network MITM position on the TCP path between a Java application using r2dbc-mariadb pre-1.4.1 and its database server - or operating a rogue MariaDB-compatible server endpoint - intercepts or handles the initial connection and, during the authentication handshake, sends a forged AuthSwitchRequest packet naming mysql_clear_password or dialog. Because the connector has no transport-security gate, it immediately responds with the user's database password as raw cleartext bytes over the unencrypted TCP connection. The attacker captures those bytes and uses the recovered credentials to authenticate directly to the legitimate database server. No public POC has been identified, but the protocol-level mechanics are well understood and the exploit is straightforward for a positioned attacker.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 28, 2026

Cleartext password disclosure in MariaDB Connector/R2DBC (org.mariadb:r2dbc-mariadb) prior to 1.4.1 allows a network-positioned attacker posing as a database server to harvest user credentials during authentication. The connector's AuthenticationPlugin interface lacked any requireSecure() gate, so plugins transmitting credentials in cleartext - mysql_clear_password and PAM/dialog - could be triggered by a forged AuthSwitchRequest over an unencrypted plain-TCP connection, causing the client to respond with the user's database password as raw bytes on the wire. No public exploit code has been identified and no KEV listing exists; the issue is fully patched in version 1.4.1.

RemediationAI

Upgrade org.mariadb:r2dbc-mariadb to version 1.4.1 or later, the vendor-released patch available at https://github.com/mariadb-corporation/mariadb-connector-r2dbc/releases/tag/1.4.1. Version 1.4.1 enforces transport-security gating on all cleartext-password authentication plugins; no configuration change is required after upgrading. If immediate upgrade is not feasible, the GHSA advisory recommends explicitly configuring TLS with certificate verification by supplying the server or CA certificate and setting sslMode to VERIFY_CA or VERIFY_FULL - this ensures the connection is encrypted and the server's identity is established before any credentials are transmitted. Note that this workaround requires the database server to have TLS properly configured; setting an SSL mode without a valid trusted server certificate does not fully protect against a rogue server presenting a self-signed certificate in all connector configurations.

Affected Packages

maven org.mariadb:r2dbc-mariadb fix: 1.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MariaDB Connector/R2DBC is the non-blocking, reactive Java driver for MariaDB and MySQL built on Project Reactor's R2DBC SPI, identified by CPE strings cpe:2.3:a:mariadb-corporation:mariadb-connector-r2dbc:*:*:*:*:*:*:*:* and cpe:2.3:a:org.mariadb:r2dbc-mariadb:*:*:*:*:*:*:*:*. The root cause is CWE-319 (Cleartext Transmission of Sensitive Information): the AuthenticationPlugin interface in versions prior to 1.4.1 declared no requireSecure() capability, so both ClearPasswordPluginFlow (handling mysql_clear_password) and PamPluginFlow (handling PAM/dialog) could execute unconditionally during the MariaDB authentication handshake regardless of whether the transport was encrypted. The MariaDB authentication handshake allows server-initiated plugin switching via AuthSwitchRequest packets; because the driver applied no transport-security check before dispatching these plugins, a hostile or MITM server could name either plugin at will and receive the password in cleartext. The fix (commit be786603) adds a default requireSecure() method to AuthenticationPlugin, overrides it to return true in both cleartext plugins, and adds enforcement in AuthenticationFlow.isSecureConnection() - which considers TLS enabled or a Unix domain socket present as a secure transport.

Know when Mariadb Connector R2Dbc 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 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

MITM or rogue-server control requirement raises AC:H; password-only disclosure gives C:H with no integrity or availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/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
High
Integrity
None
Availability
None

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 maven packages depend on org.mariadb:r2dbc-mariadb (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 1.4.1.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
reactive Java DB driver, narrower footprint than JDBC alternatives
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:mariadb-corporation:mariadb-connector-r2dbc:*:*:*:*:*:*:*:*
cpe:2.3:a:org.mariadb:r2dbc-mariadb:*:*:*:*:*:*:*:*

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