All CVEs / mariadb-corporation
CVE-2026-55215mariadb-corporation mariadb-connector-nodejs
High 7.5 No auth needed
Follow: this CVE · mariadb-corporation · mariadb-corporation mariadb-connector-nodejs We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Aug 28, 2026
- Updated
- Sep 8, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for mariadb-connector-nodejs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | mariadb |
< 3.2.4 |
3.2.4 |
npm install mariadb@3.2.4 |
| npm | mariadb |
≥ 3.3.0 < 3.3.3 |
3.3.3 |
npm install mariadb@3.3.3 |
| npm | mariadb |
≥ 3.4.0 < 3.4.6 |
3.4.6 |
npm install mariadb@3.4.6 |
| npm | mariadb |
≥ 3.5.0 < 3.5.3 |
3.5.3 |
npm install mariadb@3.5.3 |
Per OSV / GitHub Advisories (GHSA-cqhc-2h57-wpxf). Check the version in your lockfile before upgrading.
Affected products
- mariadb-corporation · mariadb-connector-nodejs
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.