CVE-2026-55215: Mariadb True` Vulnerability
HIGHCVE-2026-55215 is a HIGH (CVSS 7.5) true` vulnerability (CWE-295: Improper Certificate Validation) affecting Mariadb libraries in the npm ecosystem. The issue involves true`. Remediation is available by upgrading affected packages to version 3.2.4, 3.3.3, 3.4.6, 3.5.3.
CVE-2026-55215 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-55215
To remediate this vulnerability, upgrade all affected Mariadb dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install mariadb@3.2.4
npm install mariadb@3.3.3
npm install mariadb@3.4.6
npm install mariadb@3.5.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls mariadb
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-55215, inspect your project dependencies using npm:
npm ls mariadb
Analyze the terminal output to locate any version of Mariadb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.4), your application is affected.
Note: The npm ls mariadb command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Mariadb, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-55215 Affected Mariadb Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mariadb
|
npm |
< 3.2.4
|
3.2.4
|
|
mariadb
|
npm |
≥ 3.3.0
< 3.3.3
|
3.3.3
|
|
mariadb
|
npm |
≥ 3.4.0
< 3.4.6
|
3.4.6
|
|
mariadb
|
npm |
≥ 3.5.0
< 3.5.3
|
3.5.3
|
References
Frequently Asked Questions
What is CVE-2026-55215?
Which Mariadb versions are affected?
What version fixes CVE-2026-55215?
Is mariadb affected?
What is the CVSS score of CVE-2026-55215?
What CWE is associated with CVE-2026-55215?
How can I check npm dependencies for CVE-2026-55215?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cqhc-2h57-wpxf",
"modified" : "2026-08-28T19:03:38Z",
"published" : "2026-08-28T19:03:38Z",
"aliases" : [ "CVE-2026-55215" ],
"summary" : "MariaDB's connector leaks the cleartext password to an MitM despite `ssl: true`",
"details" : "### Summary\nWhen SSL/TLS is enabled but no CA / server certificate is provided, the\nconnector verifies the server's identity using fingerprint validation. The\ncheck is effective, the connection is ultimately rejected when it fails, \nbut it happens *after* the authentication exchange. As a result, the\ncredentials are sent before validation occurs, so an active man-in-the-middle\nwho presents their own certificate receives the password in the handshake\nbefore the connection is aborted.\n\n### Impact\nThe credentials are transmitted to the peer before the server's identity is\nvalidated. An on-path attacker (MitM) presenting any certificate can capture\nthe account password, even though the connection then fails the fingerprint\ncheck and is closed. The disclosed credentials can subsequently be used to\nauthenticate directly against the server.\n\n- Attacker requirement: active man-in-the-middle position on the network path\n- Affected configuration: SSL/TLS enabled without a CA / server certificate\n\n### Affected versions\n- < 3.2.4\n- 3.3.0 – 3.3.2\n- 3.4.0 – 3.4.5\n- 3.5.0 – 3.5.2\n\n### Patches\nFixed in 3.2.4, 3.3.3, 3.4.6, and 3.5.3. Upgrade to one of these (or later)\non your branch.\n\n### Workarounds\nUntil you can upgrade, configure certificate verification explicitly, provide\nthe server/CA certificate and use a verifying SSL mode (e.g. VERIFY_CA /\nVERIFY_FULL). \n\nReported by haaahaaahiihiiii (no GitHub account).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "mariadb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "mariadb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.3.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "mariadb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.4.0"
}, {
"fixed" : "3.4.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "mariadb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.5.0"
}, {
"fixed" : "3.5.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-cqhc-2h57-wpxf"
}, {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/514576a5a1fab3ea8498613e259a0b7a764e7302"
}, {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/c47d7275835c78c7eb8186cd23e9d57c045c128b"
}, {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/ecd36958e6e3bf0e0fa8389546f50c0ed6dbb2ac"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/3777370"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-nodejs"
}, {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3.3"
}, {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4.6"
}, {
"type" : "WEB",
"url" : "https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.3"
}, {
"type" : "WEB",
"url" : "https://jira.mariadb.org/browse/CONJS-349"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295", "CWE-522" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-28T19:03:38Z",
"nvd_published_at" : null
}
}