CVE-2026-55855: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in mariadb-corporation 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
Affected software
mariadb-corporation
mariadb-connector-nodejs
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.