CVE-2026-107385: mariadb-connector-nodejs · SQL Injection
Affects mariadb-connector-nodejsSource CVE Database V5
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
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| mariadb-corporationmariadb-connector-nodejs | Affected
| Fixed in
|
| mariadb-corporationmariadb-connector-nodejs | Affected
| Fixed in
|
| mariadb-corporationmariadb-connector-nodejs | Affected
| Fixed in
|
| mariadb-corporationmariadb-connector-nodejs | Affected
| Fixed in
|
npmmariadb-corporation/mariadb-connector-nodejspkg:npm/mariadb-corporation/mariadb-connector-nodejsOther threats | Affected
| Fixed in
|
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
- github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-r3rv-jm3r-62q2 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/6995c8cf8e51b2ad055de63dcaa4094eebbef5ce (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/7670d90949307e735c0ae148d80b3776478a599d (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/95886df9fa0cca991e2be339caa6c3979be61553 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/e5a9d732d9574177749488336319b73074072779 (opens in a new tab)
- hackerone.com/reports/3889197 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.2.5 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3.4 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4.7 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.4 (opens in a new tab)
- jira.mariadb.org/browse/CONJS-368 (opens in a new tab)