# CVE-2026-55215: MariaDB Connector/Node.js: Connector leaks the cleartext password to an MitM despite `ssl: true`

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-08-28T19:02:49.413Z
- Modified: 2026-09-08T21:08:37.320Z
- Also known as: GHSA-cqhc-2h57-wpxf, BIT-MARIADB-2026-55215, BIT-MARIADB-MIN-2026-55215, BIT-MYSQL-CLIENT-2026-55215
- Weaknesses: CWE-295, CWE-522
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- mariadb-corporation mariadb-connector-nodejs: < 3.2.4
- mariadb (npm): before 3.2.4; from 3.3.0 before 3.3.3; from 3.4.0 before 3.4.6; from 3.5.0 before 3.5.3
- mariadb (Bitnami): before 3.2.4
- mariadb-min (Bitnami): before 3.2.4
- mysql-client (Bitnami): before 3.2.4

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-cqhc-2h57-wpxf> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/514576a5a1fab3ea8498613e259a0b7a764e7302> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/c47d7275835c78c7eb8186cd23e9d57c045c128b> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/ecd36958e6e3bf0e0fa8389546f50c0ed6dbb2ac> (web)
- <https://hackerone.com/reports/3777370> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3.3> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4.6> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.3> (web)
- <https://jira.mariadb.org/browse/CONJS-349> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55215> (web)

## Sources

- CVE List: [CVE-2026-55215](https://www.cve.org/CVERecord?id=CVE-2026-55215), CVE Terms of Use, modified 2026-09-01
- GitHub Advisory Database: [GHSA-cqhc-2h57-wpxf](https://github.com/advisories/GHSA-cqhc-2h57-wpxf), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-55215](https://nvd.nist.gov/vuln/detail/CVE-2026-55215), Public domain, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-MARIADB-2026-55215](https://osv.dev/vulnerability/BIT-MARIADB-2026-55215), Apache-2.0, modified 2026-09-02
- Bitnami Vulnerability Database: [BIT-MARIADB-MIN-2026-55215](https://osv.dev/vulnerability/BIT-MARIADB-MIN-2026-55215), Apache-2.0, modified 2026-09-02
- Bitnami Vulnerability Database: [BIT-MYSQL-CLIENT-2026-55215](https://osv.dev/vulnerability/BIT-MYSQL-CLIENT-2026-55215), Apache-2.0, modified 2026-09-02

---

Page: https://cve.day/CVE-2026-55215 · Whole record: https://cve.day/CVE-2026-55215.json · Rebuilt by cve.day 2026-11-25T22:59:35.682Z
