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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.87% (percentile 57, 2026-11-29)
- **CWE:** CWE-295, CWE-522
- **Aliases:** BIT-mariadb-2026-55215, BIT-mariadb-min-2026-55215, BIT-mysql-client-2026-55215, GHSA-cqhc-2h57-wpxf
- **Published:** 2026-08-28T19:02:49.413Z
- **Modified:** 2026-09-08T21:08:37.320Z

## Who should check

- Projects that depend on npm package mariadb (\< 3.2.4)
- Anyone running mariadb-corporation mariadb-connector-nodejs \< 3.2.4

## 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.

## Affected and fixed versions

- npm `mariadb`: affected \< 3.2.4; fixed 3.2.4, 3.3.3, 3.4.6, 3.5.3 (osv)
- mariadb-corporation mariadb-connector-nodejs: \< 3.2.4 (cvelist)

## Mitigation

- Upgrade mariadb to one of 3.2.4, 3.3.3, 3.4.6, 3.5.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55215. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55215.md
Affected: mariadb < 3.2.4
Fixed in: 3.2.4, 3.3.3, 3.4.6, 3.5.3

Steps:
1. Search this machine and project for mariadb (npm), mariadb-corporation mariadb-connector-nodejs: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55215 being exploited?

There is no confirmed exploitation: CVE-2026-55215 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.87% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-55215?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-55215?

mariadb \< 3.2.4.

### Is there a fix for CVE-2026-55215?

Yes. Fixed in 3.2.4, 3.3.3, 3.4.6, 3.5.3. Upgrade mariadb to one of 3.2.4, 3.3.3, 3.4.6, 3.5.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-55215?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-cqhc-2h57-wpxf>
- patch: <https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/514576a5a1fab3ea8498613e259a0b7a764e7302>
- patch: <https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/c47d7275835c78c7eb8186cd23e9d57c045c128b>
- patch: <https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/ecd36958e6e3bf0e0fa8389546f50c0ed6dbb2ac>
- other: <https://hackerone.com/reports/3777370>
- other: <https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3.3>
- other: <https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4.6>
- other: <https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.3>
- other: <https://jira.mariadb.org/browse/CONJS-349>
- other: <https://github.com/mariadb-corporation/mariadb-connector-nodejs>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55215>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-cqhc-2h57-wpxf> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-55215> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55215>
