CVE-2026-107385MariaDB Connector/Node.js: SQL injection in the text protocol when the session uses NO_BACKSLASH_ESCAPES
- 7.4HighCVSS base score
- 0.44%Exploitation in 30 daysEPSS · top 61% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 1 day later
· 1 day later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | High7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.44% · top 61% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.4.
Affected products
mariadb-corporation · mariadb-connector-nodejs
- affected < 3.2.5
- affected >= 3.3.0, < 3.3.4
- affected >= 3.4.0, < 3.4.7
- affected >= 3.5.0-rc.0, < 3.5.4
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmmariadbGHSA-r3rv-jm3r-62q2 (opens in a new tab)
References
References11
- https://github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-r3rv-jm3r-62q2 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/6995c8cf8e51b2ad055de63dcaa4094eebbef5ce (opens in a new tab)x_refsource_MISC
- https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/7670d90949307e735c0ae148d80b3776478a599d (opens in a new tab)x_refsource_MISC
- https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/95886df9fa0cca991e2be339caa6c3979be61553 (opens in a new tab)x_refsource_MISC
- https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/e5a9d732d9574177749488336319b73074072779 (opens in a new tab)x_refsource_MISC
- https://hackerone.com/reports/3889197 (opens in a new tab)x_refsource_MISC
- https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.2.5 (opens in a new tab)x_refsource_MISC
- https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3.4 (opens in a new tab)x_refsource_MISC
- https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4.7 (opens in a new tab)x_refsource_MISC
- https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.4 (opens in a new tab)x_refsource_MISC
- https://jira.mariadb.org/browse/CONJS-368 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-95150 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-r3rv-jm3r-62q2 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-107385)Record last updated .