Read the docs
TI-2026-39895 Aliases CVE-2026-55215GHSA-cqhc-2h57-wpxf

MariaDB Connector/Node.js: Connector leaks the cleartext password to an MitM despite `ssl: true`

Priority MEDIUM 40CWE-295Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Spoofing, Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-295 and CWE-522.

Summary

MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. Prior to versions 3.3.3, 3.4.6, and 3.5.3, when ssl is enabled without a pinned CA or server certificate, MariaDB Connector/Node.js sends credentials before completing certificate fingerprint validation. In lib/cmd/handshake/auth/handshake.js, a server that selects mysql_clear_password as the initial authentication plugin can receive the password before the post-TLS identity check. In lib/cmd/handshake/authentication.js, an authentication switch can evaluate the previous plugin instead of the requested target plugin, allowing mysql_clear_password to send the credential first. An active man-in-the-middle can present a self-signed certificate, capture the database password, and use it to authenticate directly even though the connector later rejects the server and closes the connection. This issue is fixed in versions 3.3.3, 3.4.6, and 3.5.3.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00569 47th percentileScored 2026-11-07
Fix Fixed mariadb-connector-nodejs (mariadb-corporation): 3.2.4mariadb (npm): 3.2.4, 3.3.3, 3.4.6 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MariaDBmariadb-connector-nodejsbefore 3.2.43.2.4Patch availableCNA
—mariadb (npm)before 3.2.43.2.4Patch availableGHSA-cqhc-2h57-wpxf
—mariadb (npm)3.3.0 to before 3.3.33.3.3Patch availableGHSA-cqhc-2h57-wpxf
—mariadb (npm)3.4.0 to before 3.4.63.4.6Patch availableGHSA-cqhc-2h57-wpxf
—mariadb (npm)3.5.0 to before 3.5.33.5.3Patch availableGHSA-cqhc-2h57-wpxf
  • mariadb-connector-nodejs VendorMariaDB Affected before 3.2.4 Fixed in 3.2.4 Patch available CNA
  • mariadb (npm) Vendor— Affected before 3.2.4 Fixed in 3.2.4 Patch available GHSA-cqhc-2h57-wpxf
  • mariadb (npm) Vendor— Affected 3.3.0 to before 3.3.3 Fixed in 3.3.3 Patch available GHSA-cqhc-2h57-wpxf
  • mariadb (npm) Vendor— Affected 3.4.0 to before 3.4.6 Fixed in 3.4.6 Patch available GHSA-cqhc-2h57-wpxf
  • mariadb (npm) Vendor— Affected 3.5.0 to before 3.5.3 Fixed in 3.5.3 Patch available GHSA-cqhc-2h57-wpxf

Remediation

  • Fix · CNA mariadb-connector-nodejs (mariadb-corporation) Fixed in 3.2.4
  • Fix · GHSA-cqhc-2h57-wpxf mariadb (npm) Fixed in 3.2.4 Advisory →
  • Fix · GHSA-cqhc-2h57-wpxf mariadb (npm) Fixed in 3.3.3 Advisory →
  • Fix · GHSA-cqhc-2h57-wpxf mariadb (npm) Fixed in 3.4.6 Advisory →
  • Fix · GHSA-cqhc-2h57-wpxf mariadb (npm) Fixed in 3.5.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-55215
  2. 2026-10-03 Alias added: GHSA-cqhc-2h57-wpxf

References

  • TI-2023-11776 MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via… CVSS 3.1CRITICAL 9.8
  • TI-2016-05707 Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB… CVSS 3.0CRITICAL 9.8
  • TI-2022-00687 Infinite loop in BN_mod_sqrt() reachable when parsing certificates CVSS 3.1HIGH 7.5
  • TI-2014-00217 OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly… CVSS 3.1HIGH 7.4
  • TI-2014-00188 The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0… CVSS 2.0MEDIUM 6.8
  • TI-2018-15259 zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if… CVSS 3.1HIGH 7.5
See all 459 →

Sources