IT SBIT Services
Schneeberger
DEEN
CVE tracker

MariaDB Connector/Node.js: SQL injection via object keys in SET clause

CVE-2026-107384High 8.1

← All vulnerabilities

Summary

MariaDB Connector/Node.js builds SET clauses from object keys when the non-default option permitSetMultiParamEntries is enabled, but it does not escape those keys as identifiers. An attacker who controls a key can insert a backtick to close the identifier and inject SQL, which can update columns the application did not intend to expose and run arbitrary SQL with the database user's privileges. The issue requires an application that enables this option and passes attacker-influenced keys into it.

Affected

  • mariadb-connector-nodejs 3.2.0 to before 3.2.5
  • mariadb-connector-nodejs 3.3.0 to before 3.3.4
  • mariadb-connector-nodejs 3.4.0 to before 3.4.7
  • mariadb-connector-nodejs 3.5.0-rc.0 to before 3.5.4
  • Only applications with permitSetMultiParamEntries enabled (disabled by default)
  • Versions 2.x are not listed as affected by the vendor; verify installed versions

Fixed in

  • Upgrade to 3.2.5, 3.3.4, 3.4.7 or 3.5.4 (or later)

Workaround

  • Keep permitSetMultiParamEntries disabled (default setting)
  • Search code for permitSetMultiParamEntries and remove it where not needed
  • Ensure no user-controlled keys reach objects passed as query parameters

Exploitation

  • No public proof of concept known
  • No evidence of exploitation in the wild found
  • CISA SSVC: exploitation none, automatable no, technical impact total
  • EPSS low (0.00447)

Our recommendation

  • Check whether any application uses the mariadb or mysql Node.js connector with permitSetMultiParamEntries enabled
  • Update to 3.2.5, 3.3.4, 3.4.7 or 3.5.4 or later
  • Until patched, disable the option and ensure user input cannot control object keys
  • Run application database accounts with least privilege
  • Verify the CISA KEV catalogue before closing the ticket

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 1 Nov 2026, 20:31.

Original description (NVD)

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.

NVD references (11)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.