CVE-2026-55857: CWE-319: Cleartext Transmission of Sensitive Information in mariadb-corporation mariadb-connector-j
Description
MariaDB Connector/J versions prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9 have a vulnerability where PAM dialog authentication can transmit the account password in cleartext over insecure connections. This occurs because the PAM handler 'dialog' does not require secure transport, unlike the mysql_clear_password plugin. A malicious or man-in-the-middle server can exploit this by sending an Authentication Switch Request over plain TCP, causing the driver to expose the password if sslMode=DISABLE and restrictedAuth=null (default settings). The issue is fixed in the specified versions.
CVSS v3.1
Score 5.9medium
Affected software
mariadb-corporation
mariadb-connector-j
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
MariaDB Connector/J, used for Java applications connecting to MariaDB and MySQL, has a vulnerability (CVE-2026-55857) involving cleartext transmission of sensitive authentication information. The PAM dialog authentication handler does not enforce secure transport, allowing a hostile or man-in-the-middle server to coerce the driver into sending the user's password in cleartext over an unencrypted connection when sslMode is disabled and restrictedAuth is null. Properly verified TLS connections and local Unix sockets are not affected. This vulnerability affects versions prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9, where the issue has been fixed.
Potential Impact
An attacker controlling or intercepting the server connection can obtain user passwords in cleartext if the client uses default insecure settings (sslMode=DISABLE and restrictedAuth=null). This compromises credential confidentiality but does not affect integrity or availability. Secure transport configurations are not vulnerable.
Mitigation Recommendations
Upgrade MariaDB Connector/J to version 2.7.14, 3.3.5, 3.4.3, or 3.5.9 or later where the vulnerability is fixed. Alternatively, ensure that sslMode is not set to DISABLE and that secure transport is enforced to prevent cleartext password transmission. Since this is a client-side library, users must update their connector versions and configure secure connections properly. Patch status is not explicitly stated but fixed versions are known; apply these updates accordingly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-17T16:44:40.995Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a92113dacd9273b496f46a9
Added to database: 08/28/2026, 22:52:45 UTC
Last enriched: 09/07/2026, 15:31:23 UTC
Last updated: 10/11/2026, 18:48:20 UTC
Views: 100
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.