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.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 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
- 31 Oct 2026, 13:33 UTC First seen by agentprime
- 31 Oct 2026, 13:33 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-r3rv-jm3r-62q2
- OSV: GHSA-r3rv-jm3r-62q2
- github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-r3rv-jm3r-62q2
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/6995c8cf8e51b2ad055de63dcaa4094eebbef5ce
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/7670d90949307e735c0ae148d80b3776478a599d
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/95886df9fa0cca991e2be339caa6c3979be61553
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/e5a9d732d9574177749488336319b73074072779
- hackerone.com/reports/3889197
- github.com/mariadb-corporation/mariadb-connector-nodejs
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.2.5
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3.4
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4.7
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.4
- jira.mariadb.org/browse/CONJS-368