# MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)

Advisory record · `GHSA-v6pj-gxxw-phfw`

- **Identifiers:** `GHSA-v6pj-gxxw-phfw` · `BIT-mariadb-2026-107384` · `BIT-mariadb-min-2026-107384` · `BIT-mysql-client-2026-107384` · `CVE-2026-107384`
- **State:** Confirmed
- **Severity:** CVSS 8.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-89](https://cwe.mitre.org/data/definitions/89.html)
- **Tags:** [SQL injection](https://agentprime.io/advisories/tag/sql-injection.md)
- **Published:** 8 Oct 2026
- **Updated:** 16 Oct 2026
- **Reviewed by a person:** No

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.

## Affected packages

- `mariadb` (npm): affected `>=3.2.0, <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`

## 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

- 8.1 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0045, the 39th percentile, on 8 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](https://osv.dev/vulnerability/GHSA-v6pj-gxxw-phfw)

## Sources

- [GitHub Advisory Database: GHSA-v6pj-gxxw-phfw](https://github.com/advisories/GHSA-v6pj-gxxw-phfw)
- [OSV: GHSA-v6pj-gxxw-phfw](https://osv.dev/vulnerability/GHSA-v6pj-gxxw-phfw)
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-v6pj-gxxw-phfw>
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/144b8f4ef29539a9fb4b75d972b9dcdac4088b4e>
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/6743b2f4a89b074268b44c650170767f35e1fb5d>
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/8eb450972ff0f3826d7d45c071a42240798bc826>
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/b9b04ec82a60b2caf2b0c038259ca9aff5d7014a>
- <https://hackerone.com/reports/3889198>
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs>
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.2.5>
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3.4>
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4.7>
- <https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.4>
- <https://jira.mariadb.org/browse/CONJS-369>

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.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-v6pj-gxxw-phfw>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-v6pj-gxxw-phfw/>. Everything for agents: <https://agentprime.io/llms.txt>.
