Skip to main content

MariaDB Connector/Node.js CVE-2026-55854

MEDIUM
Cleartext Transmission of Sensitive Information (CWE-319)
2026-08-28 GitHub_M GHSA-42r5-vhpq-m858
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attain MITM position or deploy rogue DB server
  2. Delivery
    Intercept client TCP connection to MariaDB endpoint
  3. Exploit
    Issue Authentication Switch Request for 'dialog' plugin
  4. Execution
    Unpatched connector returns account password in cleartext
  5. Persist
    Capture credential from network traffic
  6. Impact
    Authenticate to legitimate MariaDB server with stolen password

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V12 - Secure Communication Transport encryption
Exploitation Conditions

Exploitation requires three concurrent conditions: the application must use an unpatched version of mariadb Connector/Node.js (below 3.2.4, 3.3.3, 3.4.6, or 3.5.3 depending on the active branch); the database connection must use plain TCP with sslMode=DISABLE (the default) or TLS where server identity is validated only via a self-signed-certificate fingerprint (rejectUnauthorized: false with pinning) - both are non-protective transports for this vulnerability; and the attacker must either occupy an on-path network position or induce the client to connect to an attacker-controlled server. Exploitation is fully blocked by properly verified TLS with certificate authority validation (rejectUnauthorized: true), use of a local Unix domain socket (socketPath option, non-Windows only), or upgrading to a patched release. Setting restrictedAuth to exclude the 'dialog' plugin also blocks the vector at the connector level. The default configuration (sslMode=DISABLE, restrictedAuth=null) is vulnerable on any network path not inherently controlled by the application operator.

Impact

The CVSS 3.1 score of 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) correctly reflects high confidentiality impact offset by high attack complexity - exploitation is network-reachable but requires either an on-path MITM position or the ability to substitute a hostile database server, which is a meaningful prerequisite. EPSS data was not included in the provided intelligence and cannot be quantified. No CISA KEV listing and no public exploit code have been identified, consistent with opportunistic risk being low and targeted risk being moderate. Real-world exposure is highest in environments where Node.js applications connect to MariaDB over untrusted network segments with default connector settings - containerized deployments reaching external MariaDB endpoints or cloud-hosted applications traversing shared networks are the most plausible targets. Importantly, organizations using TLS with fingerprint-only certificate validation (rejectUnauthorized: false with pinning) receive no protection, which may affect teams who believe they are secured by TLS. The patch is low-risk, available for all active branches, and should be treated as a routine but timely upgrade rather than an emergency response.

Exploit ScenarioDerived

An attacker with MITM positioning on the network path between a Node.js application and its MariaDB server intercepts the TCP handshake and issues an Authentication Switch Request specifying the 'dialog' plugin before the legitimate server can respond. The unpatched connector, lacking a transport-security check for this plugin, returns the account password in cleartext, which the attacker captures and then uses to authenticate directly to the real MariaDB server or any other service where the credential is reused. No public proof-of-concept code has been identified, but the attack is straightforward to implement given standard MITM tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

PAM dialog authentication in MariaDB Connector/Node.js discloses account passwords in cleartext when connections use plain TCP, because the SendPamAuthPacketFactory handler omitted the secure-transport gate that was already applied to the sibling mysql_clear_password plugin. Applications connecting to MariaDB with default settings (sslMode=DISABLE, restrictedAuth=null) over untrusted network paths are exposed to credential theft by any on-path attacker or rogue server that issues an Authentication Switch Request for the dialog plugin. No active exploitation or public exploit code has been identified; vendor-released patches are available across all active 3.x branches.

RemediationAI

Upgrade the 'mariadb' npm package to the patched release on your active branch: 3.5.x users should update to 3.5.3, 3.4.x users to 3.4.6, 3.3.x users to 3.3.3, and users on 3.2.x or earlier to 3.2.4. Confirmed patch releases are available at the respective GitHub tags (https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.3, /3.4.6, /3.3.3, /3.2.4). As an immediate compensating control prior to patching, enable TLS with full certificate authority validation (not fingerprint-only pinning) or restrict database connections to local Unix sockets via the socketPath option on non-Windows platforms - both block the cleartext PAM exchange. Note that setting rejectUnauthorized: false with a fingerprint does NOT mitigate this vulnerability. If PAM authentication is not required by the server, disabling the dialog plugin server-side or setting restrictedAuth in the connector configuration to exclude 'dialog' also eliminates the attack surface.

Affected Packages

npm mariadb fix: 3.2.4, 3.3.3, 3.4.6, 3.5.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MariaDB Connector/Node.js (npm package 'mariadb', CPE: cpe:2.3:a:mariadb-corporation:mariadb-connector-nodejs) implements database authentication plugins including PAM via the server-side 'dialog' plugin, handled by PamPasswordAuth (lib/cmd/handshake/auth/pam-password-auth.js). The sibling ClearPasswordAuth plugin correctly enforced a secure-transport requirement by overriding requireSecure() to return true; the PAM handler omitted this override entirely, inheriting the base class default of false. Classified as CWE-319 (Cleartext Transmission of Sensitive Information), the root cause is an incomplete feature-parity check between two authentication mechanisms that both transmit the password in cleartext. When a server - or MITM actor - issues an Authentication Switch Request for the 'dialog' plugin over unencrypted TCP, the connector responds with the raw password. The fix, confirmed by commit diffs, adds requireSecure() { return true; } to PamPasswordAuth and adds a corresponding enforcement check in authentication.js, making PAM subject to the same TLS-or-Unix-socket requirement already applied to mysql_clear_password.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

MITM or rogue-server positioning required raises AC:H; no attacker privileges needed (PR:N); impact is confidentiality-only as only the password is disclosed with no integrity or availability effect.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. Prior to 3.2.4, 3.3.3, 3.4.6, and 3.5.3, MariaDB Connector/Node.js can disclose an account password when PAM dialog authentication is negotiated over an insecure transport. In lib/cmd/handshake/auth/pam-password-auth.js and lib/cmd/handshake/authentication.js, the SendPamAuthPacketFactory behavior for the server-side plugin dialog lacked the secure-transport gate applied to mysql_clear_password. With the default sslMode=DISABLE and restrictedAuth=null settings, a hostile or on-path server can send an Authentication Switch Request for dialog over plain TCP, causing the connector to return the account password in cleartext. Properly verified TLS and a local Unix socket prevent this path, while fingerprint-only server identity validation is not sufficient. This issue is fixed in versions 3.2.4, 3.3.3, 3.4.6, and 3.5.3.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 4 npm packages depend on mariadb (3 direct, 1 indirect)

Ecosystem-wide dependent count for version 3.3.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
widely-used Node.js database connector for MariaDB/MySQL deployments
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:mariadb-corporation:mariadb-connector-nodejs:*:*:*:*:*:*:*:*
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy