CVE-2026-55215: Mariadb True` Vulnerability

HIGH
Advisory Identifier: GHSA-cqhc-2h57-wpxf
CVSS 7.5
CWE-295 CWE-522
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-55215
GHSA Identifier GHSA-cqhc-2h57-wpxf
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Mariadb
Package Ecosystem npm
Published Date
Last Updated

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

mariadb fixed: 3.2.4
npm install mariadb@3.2.4
mariadb fixed: 3.3.3
npm install mariadb@3.3.3
mariadb fixed: 3.4.6
npm install mariadb@3.4.6
mariadb fixed: 3.5.3
npm install mariadb@3.5.3
Verify Direct and Transitive Dependencies

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

### Summary When SSL/TLS is enabled but no CA / server certificate is provided, the connector verifies the server's identity using fingerprint validation. The check is effective, the connection is ultimately rejected when it fails, but it happens *after* the authentication exchange. As a result, the credentials are sent before validation occurs, so an active man-in-the-middle who presents their own certificate receives the password in the handshake before the connection is aborted. ### Impact The credentials are transmitted to the peer before the server's identity is validated. An on-path attacker (MitM) presenting any certificate can capture the account password, even though the connection then fails the fingerprint check and is closed. The disclosed credentials can subsequently be used to authenticate directly against the server. - Attacker requirement: active man-in-the-middle position on the network path - Affected configuration: SSL/TLS enabled without a CA / server certificate ### Affected versions - < 3.2.4 - 3.3.0 – 3.3.2 - 3.4.0 – 3.4.5 - 3.5.0 – 3.5.2 ### Patches Fixed in 3.2.4, 3.3.3, 3.4.6, and 3.5.3. Upgrade to one of these (or later) on your branch. ### Workarounds Until you can upgrade, configure certificate verification explicitly, provide the server/CA certificate and use a verifying SSL mode (e.g. VERIFY_CA / VERIFY_FULL). Reported by haaahaaahiihiiii (no GitHub account).

CVE-2026-55215 Affected Mariadb Versions

4 component(s)
Fixed Versions:
3.2.43.3.33.4.63.5.3
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?
CVE-2026-55215 is a security vulnerability in Mariadb involving true` under CWE-295: Improper Certificate Validation.
Which Mariadb versions are affected?
Affected versions include releases prior to 3.2.4, 3.3.3, 3.4.6, 3.5.3 across affected packages: mariadb.
What version fixes CVE-2026-55215?
Upgrading to 3.2.4, 3.3.3, 3.4.6, 3.5.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mariadb affected?
Yes, mariadb is affected in releases prior to 3.2.4, 3.3.3, 3.4.6, 3.5.3. Upgrade your dependency to 3.2.4, 3.3.3, 3.4.6, 3.5.3 or later.
What is the CVSS score of CVE-2026-55215?
CVE-2026-55215 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-55215?
CVE-2026-55215 is classified under CWE-295: Improper Certificate Validation (The product does not validate, or incorrectly validates, a certificate.).
How can I check npm dependencies for CVE-2026-55215?
Run the dependency tree command: 'npm ls mariadb'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}