Skip to main content
VulnerabilityPublished

CVE-2026-107385: mariadb-connector-nodejs · SQL Injection

Affects mariadb-connector-nodejsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.4 High · fixed in 3.5.4 : patch mariadb-connector-nodejs soon.

Data as of 22 Nov 2026, 21:14 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.5.4, 3.4.7, 3.3.4 +1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.

What to do

Upgrade mariadb-connector-nodejs and mariadb-corporation/mariadb-connector-nodejs to 3.5.4, 3.4.7, 3.3.4 or 3.2.5.

Affected software

ProductAffectedFixed in
mariadb-corporationmariadb-connector-nodejsAffected
  • >=3.5.0-rc.0 <3.5.4
Fixed in
  • 3.5.4
mariadb-corporationmariadb-connector-nodejsAffected
  • >=3.4.0 <3.4.7
Fixed in
  • 3.4.7
mariadb-corporationmariadb-connector-nodejsAffected
  • >=3.3.0 <3.3.4
Fixed in
  • 3.3.4
mariadb-corporationmariadb-connector-nodejsAffected
  • <3.2.5
Fixed in
  • 3.2.5
npmmariadb-corporation/mariadb-connector-nodejspkg:npm/mariadb-corporation/mariadb-connector-nodejsOther threatsAffected
  • <3.2.5
  • >=3.3.0 <3.3.4
  • >=3.4.0 <3.4.7
  • >=3.5.0-rc.0 <3.5.4
Fixed in
  • 3.2.5
  • 3.3.4
  • 3.4.7
  • 3.5.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade MariaDB Connector/Node.js to version 3.2.5, 3.3.4, 3.4.7, or 3.5.4 or later, where this vulnerability is fixed. Avoid using text-protocol escaping with the NO_BACKSLASH_ESCAPES mode enabled if upgrading is not immediately possible. Use execute() and batch() methods that utilize binary protocols, which are not affected by this issue. Check the vendor advisory for the latest remediation guidance.

Description

MariaDB Connector/Node.js versions prior to 3.2.5, 3.3.4, 3.4.7, and 3.5.4 contain a SQL injection vulnerability due to improper escaping of special characters in text-protocol mode when the NO_BACKSLASH_ESCAPES SQL mode is enabled. This allows an attacker to inject arbitrary SQL commands by closing string literals improperly. The vulnerability does not affect execute() and batch() methods that use binary protocols. Fixed versions have been released to address this issue.

References

Community reviews

Loading reviews…