Skip to main content
EPSS 0.5%top 61%

CVE-2026-55855: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in mariadb-corporation mariadb-connector-nodejs

0
Medium
Published: 08/28/2026 (08/28/2026, 22:06:42 UTC)
Source: CVE Database V5
Vendor/Project: mariadb-corporation
Product: mariadb-connector-nodejs

Description

MariaDB Connector/Node.js versions prior to 3.2.4, 3.3.3, 3.4.6, and 3.5.3 contain a SQL injection vulnerability when using certain client character sets (big5, gbk, sjis, cp932, or gb18030). This occurs due to improper escaping of attacker-controlled Buffer parameters client-side, allowing an attacker to inject arbitrary SQL. The default utf8mb4 character set and prepared-statement execution paths are not affected. The vulnerability can lead to exposure or modification of data accessible to the database account. Fixed versions are available.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Affected software

mariadb-corporation

mariadb-connector-nodejs

Affected versions
<3.2.4>=3.3.0 <3.3.3>=3.4.0 <3.4.6>=3.5.0 <3.5.3

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:52:52 UTC

Technical Analysis

MariaDB Connector/Node.js improperly neutralizes special elements used in SQL commands when escaping Buffer parameters under specific multibyte character sets (big5, gbk, sjis, cp932, gb18030). The escaping function PacketOutputStream.writeBufferEscape does not use charset-aware logic, causing backslash escapes to be bypassed by the server's SQL lexer due to multibyte character interpretation. This allows an attacker to terminate string literals and inject arbitrary SQL commands. The vulnerability affects versions prior to 3.2.4, 3.3.3, 3.4.6, and 3.5.3 and is fixed in those versions. The default utf8mb4 charset and prepared-statement binary execution are not vulnerable.

Potential Impact

Successful exploitation can lead to unauthorized exposure or modification of data accessible to the database account used by the application. The vulnerability does not affect availability and requires network access with high attack complexity and no privileges or user interaction. The CVSS score is 6.5 (medium severity).

Mitigation Recommendations

Upgrade MariaDB Connector/Node.js to version 3.2.4, 3.3.3, 3.4.6, or 3.5.3 or later, where this SQL injection vulnerability is fixed. There is no indication of alternative mitigations or temporary workarounds. Patch status is confirmed by the vendor advisory stating fixed versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-17T16:44:40.995Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a920a36acd9273b4968cbf0

Added to database: 08/28/2026, 22:22:46 UTC

Last enriched: 09/07/2026, 15:52:52 UTC

Last updated: 10/12/2026, 18:48:21 UTC

Views: 107

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses