{"id":"CVE-2026-107384","published":"2026-10-08T19:17:00.990","lastModified":"2026-10-09T19:16:41.390","description":"MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. From 3.2.0 until 3.2.5, 3.3.4, 3.4.7, and 3.5.4, applications that enable permitSetMultiParamEntries can pass objects whose keys are expanded into a SQL SET clause without being processed by escapeId. An attacker-controlled key containing a backtick can close the quoted identifier and cause the remainder of the key to be interpreted as SQL. This can update columns the application did not intend to expose and can append arbitrary SQL with the database user's privileges. The option is disabled by default, and serialized-object handling used when it is disabled is not affected. This issue is fixed in versions 3.2.5, 3.3.4, 3.4.7, and 3.5.4.","cvssScore":8.1,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-89"],"vendors":[],"products":[],"references":[{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/144b8f4ef29539a9fb4b75d972b9dcdac4088b4e","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/6743b2f4a89b074268b44c650170767f35e1fb5d","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/8eb450972ff0f3826d7d45c071a42240798bc826","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/b9b04ec82a60b2caf2b0c038259ca9aff5d7014a","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.2.5","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3.4","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4.7","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.4","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-v6pj-gxxw-phfw","tags":[]},{"url":"https://hackerone.com/reports/3889198","tags":[]},{"url":"https://jira.mariadb.org/browse/CONJS-369","tags":[]}],"exploitRefs":[{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/144b8f4ef29539a9fb4b75d972b9dcdac4088b4e","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/6743b2f4a89b074268b44c650170767f35e1fb5d","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/8eb450972ff0f3826d7d45c071a42240798bc826","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/b9b04ec82a60b2caf2b0c038259ca9aff5d7014a","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.2.5","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3.4","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4.7","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.4","tags":[]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-v6pj-gxxw-phfw","tags":[]}],"hasPoc":true,"ai":{"summary":"A SQL injection vulnerability exists in MariaDB Connector/Node.js where attacker-controlled object keys can be improperly processed into SQL SET clauses, allowing unauthorized column updates and arbitrary SQL execution with database user privileges. This affects versions 3.2.0 through 3.2.5, 3.3.4, 3.4.7, and 3.5.4 when the permitSetMultiParamEntries option is enabled.","exploitability":"Exploitation requires enabling the permitSetMultiParamEntries option in MariaDB Connector/Node.js and having an application that accepts user-controllable object keys as SQL parameters, making it moderately difficult to exploit without specific application configuration.","blast_radius":"If exploited, this vulnerability could allow attackers to modify unintended database columns and execute arbitrary SQL commands with the privileges of the database user, potentially leading to data compromise or unauthorized access to sensitive information.","remediation":"Upgrade to version 3.2.5, 3.3.4, 3.4.7, or 3.5.4 where this vulnerability is fixed.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["sql-injection","database","nodejs","config"],"model":"garnet-coder","analyzedAt":"2026-10-16T09:20:07.538Z"}}