Skip to content
Fencer Vulns
high 7.4

CVE-2026-107385 json

MariaDB Connector/Node.js: SQL injection in the text protocol when the session uses NO_BACKSLASH_ESCAPES

published 2026-10-08 31 d ago modified 2026-10-16 23 d ago also BIT-mariadb-2026-107385 , BIT-mariadb-min-2026-107385 , BIT-mysql-client-2026-107385 , EUVD-2026-95150 , GHSA-r3rv-jm3r-62q2

cvss
7.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 38%
public exploits
0
none known

Summary

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.

Patch / fix

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-107385 updated cvss 8.1

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

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
30 d ago

Exploit prediction

0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHub 3.1 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
OSV 3.1 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected packages

ecosystem package affected fixed in
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.5
3.3.4
3.4.7
3.5.4
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.5
3.3.4
3.4.7
3.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.5
3.3.4
3.4.7
3.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.5
3.3.4
3.4.7
3.5.4

Affected products

  • mariadb-corporation mariadb-connector-nodejs

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.