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.
Published: 2026-10-08
Score: 8.1 High
EPSS: n/a
KEV: No
Impact: SQL Injection with enhanced privileges
Action: Apply Patch
AI Analysis

Impact

The flaw appears in MariaDB Connector/Node.js when the permitSetMultiParamEntries option is enabled. Object keys are inserted into a SQL SET clause without escaping identifiers, allowing an attacker to close a backtick‑quoted identifier and inject arbitrary SQL. This could result in modification of unintended columns or execution of additional statements with the database user’s permissions, mapped to CWE-89 (SQL Injection).

Affected Systems

MariaDB Corporation’s MariaDB Connector/Node.js for Node.js applications is affected. Vulnerable releases include 3.2.0 through 3.2.4. The issue was addressed in releases 3.2.5, 3.3.4, 3.4.7, and 3.5.4.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.1, indicating high severity. EPSS data is unavailable, and the flaw is not listed in CISA KEV. The likely attack vector involves a remote application that enables permitSetMultiParamEntries and sends maliciously crafted object keys to the connector. The default setting disables the option, so risk is mitigated when configurations remain at default, but any intentional enabling presents a significant risk. Given the high CVSS, the potential for data tampering or unauthorized query execution warrants prompt action.

Generated by OpenCVE AI on October 8, 2026 at 20:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MariaDB Connector/Node.js to version 3.2.5 or newer
  • If the permitSetMultiParamEntries option is not needed, leave it disabled or remove it from the configuration
  • Ensure that any object keys passed to the connector are validated or escaped to prevent backtick injection

Generated by OpenCVE AI on October 8, 2026 at 20:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-v6pj-gxxw-phfw MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)
History

Thu, 08 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
First Time appeared Mariadb-corporation
Mariadb-corporation mariadb-connector-nodejs
Vendors & Products Mariadb-corporation
Mariadb-corporation mariadb-connector-nodejs

Thu, 08 Oct 2026 18:45:00 +0000

Type Values Removed Values Added
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.
Title MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Mariadb-corporation Mariadb-connector-nodejs
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-08T18:32:30.156Z

Reserved: 2026-10-07T21:07:54.988Z

Link: CVE-2026-107384

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-08T19:17:00.990

Modified: 2026-10-08T20:25:00.647

Link: CVE-2026-107384

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T20:15:06Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')