---
id: CVE-2026-107382
title: >-
  MariaDB Connector/Node.js is used to connect applications developed on Node.js
  to MariaDB and MySQL databases
summary: >-
  MariaDB Connector/Node.js is used to connect applications developed on Node.js
  to MariaDB and MySQL databases. From 3.3.0 until 3.5.4, the zero-configuration
  TLS fingerprint-validation path calls Ed25519PasswordAuth.hash() through
  Authen…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-248
vendor: mariadb
product: mariadb
affected:
  - 'mariadb >= 3.3.0, < 3.5.4'
patched:
  - mariadb 3.5.4
published: '2026-10-08'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T20:25:00.647'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107382'
references:
  - url: >-
      https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/784ca3d757194a05f202d84b0c762321e76a7915
    label: security-advisories@github.com
  - url: >-
      https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.4
    label: security-advisories@github.com
  - url: >-
      https://github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-cx2f-j9fh-8g68
    label: security-advisories@github.com
  - url: 'https://hackerone.com/reports/3835450'
    label: security-advisories@github.com
  - url: 'https://jira.mariadb.org/browse/CONJS-356'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-cx2f-j9fh-8g68'
tags:
  - nvd
  - ghsa
  - npm
aliases:
  - GHSA-cx2f-j9fh-8g68
ecosystem: npm
ingestedAt: '2026-10-08T20:06:22.185Z'
---

## Overview

MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. From 3.3.0 until 3.5.4, the zero-configuration TLS fingerprint-validation path calls Ed25519PasswordAuth.hash() through Authentication.validateFingerPrint, but Ed25519PasswordAuth.hash() references a seed identifier that is not in scope. Exposure requires a MariaDB server reached over TCP, TLS enabled with ssl: true or an ssl object whose rejectUnauthorized value is not false, a password set, no ssl.ca configured, and client_ed25519 negotiated as the authentication plugin. Under those conditions, a legitimate server, malicious server, or network attacker presenting a self-signed certificate can reach this path and cause a synchronous ReferenceError to escape the socket data handler. Under Node.js default uncaught-exception behavior, the client process terminates, causing denial of service. Configurations using a provided CA, rejectUnauthorized: false, another authentication plugin, or a Unix socket do not reach this vulnerable path. This issue is fixed in version 3.5.4.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-107382)

Affected packages:

- `mariadb >= 3.3.0, < 3.5.4`

Patched in:

- `mariadb 3.5.4`

Source: https://github.com/advisories/GHSA-cx2f-j9fh-8g68
