Advisory record · GHSA-r3rv-jm3r-62q2

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

CVSS 7.4 HighEPSS 0.0044 · 38th percentile

Published by the GitHub Advisory Database at 8 Oct 2026, 19:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mariadbnpm<3.2.5 || >=3.3.0, <3.3.4 || >=3.4.0, <3.4.7 || >=3.5.0-rc.0, <3.5.43.2.5, 3.3.4, 3.4.7, 3.5.4
Identifiers
GHSA-r3rv-jm3r-62q2 · BIT-mariadb-2026-107385 · BIT-mariadb-min-2026-107385 · BIT-mysql-client-2026-107385 · CVE-2026-107385
Weakness (CWE)
CWE-89
Published
8 Oct 2026
Updated
16 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of the npm package mariadb below 3.2.5, from 3.3.0 to below 3.3.4, from 3.4.0 to below 3.4.7, and from 3.5.0-rc.0 to below 3.5.4 have an SQL injection flaw in text-protocol parameter escaping. When the session runs with NO_BACKSLASH_ESCAPES enabled, the connector escapes quotes with a backslash, so a value passed as a query parameter can break out of its string literal and run as SQL with the application database user's privileges. Upgrade to 3.2.5, 3.3.4, 3.4.7, 3.5.4 or later. Until then, use execute() or batch(), which are not affected, or do not enable NO_BACKSLASH_ESCAPES.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.4 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0044, the 38th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:33 UTC First seen by agentprime
  2. 31 Oct 2026, 13:33 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.