Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-107385

mariadb: MariaDB Connector/Node.js: SQL injection via improper query escaping in NO_BACKSLASH_ESCAPES mode

Overview

Published
8 Oct 2026
Modified
9 Oct 2026
High CVE
4 Registry packages
1 OS packages
2 Linux distributions
Yes Fix available

Description

MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. Prior to 3.2.5, 3.3.4, 3.4.7, and 3.5.4, text-protocol escaping always prefixes quotes with a backslash and does not honor the session's NO_BACKSLASH_ESCAPES mode, including in Connection.escape(). When that mode is enabled, the backslash is an ordinary character, so an attacker-controlled placeholder value can close the SQL string literal and inject arbitrary SQL with the application's database privileges. The vulnerable configuration may be enabled server-wide, through connector initialization options, or with an application-issued SET sql_mode; execute() and batch() use binary protocols and are not affected. This issue is fixed in versions 3.2.5, 3.3.4, 3.4.7, and 3.5.4.

Source: OX vulnerability database

Severity

7.4 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Weakness: CWE-89

Affected packages · 4

Packages affected by CVE-2026-107385
EcosystemPackageVulnerableFixed in
Bitnami mariadb <3.2.5>=3.3.0, <3.3.4>=3.4.0, <3.4.7>=3.5.0, <3.5.4 3.2.53.3.43.4.73.5.4
Bitnami mariadb-min <3.2.5>=3.3.0, <3.3.4>=3.4.0, <3.4.7>=3.5.0, <3.5.4 3.2.53.3.43.4.73.5.4
Bitnami mysql-client <3.2.5>=3.3.0, <3.3.4>=3.4.0, <3.4.7>=3.5.0, <3.5.4 3.2.53.3.43.4.73.5.4
npm mariadb <3.2.5>=3.3.0, <3.3.4>=3.4.0, <3.4.7>=3.5.0-rc.0, <3.5.4 3.2.53.3.43.4.73.5.4

Open a package to see all its vulnerabilities.

Operating systems · 2 fixes

chainguard 1 release · 1 package

fixed 1
sqlpad
chainguard fixes for CVE-2026-107385
ReleasePackageFixed in
sqlpad 7.5.7-r49

wolfi 1 release · 1 package

fixed 1
sqlpad
wolfi fixes for CVE-2026-107385
ReleasePackageFixed in
sqlpad 7.5.7-r49

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.