{"answers":{"affected":"11 open source packages ship an affected version, including mariadb, mariadb-min and mysql-client.","exploited":"There is no known exploitation of CVE-2026-107385 in the wild and no public exploit code.","fix":"Upgrade mariadb to a fixed version for your release line: 3.2.5, 3.3.4, 3.4.7 or 3.5.4.","what":"CVE-2026-107385 is a high-severity SQL injection vulnerability in mariadb-corporation mariadb-connector-nodejs, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-107385 and fix it if it is affected.\n\nWhat it is: CVE-2026-107385 is a high-severity SQL injection vulnerability in mariadb-corporation mariadb-connector-nodejs, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-107385 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mariadb (Bitnami): affected all versions; fixed in 3.2.5, 3.3.4, 3.4.7, 3.5.4\n- mariadb (npm): affected all versions; fixed in 3.2.5\n- mariadb (npm): affected all versions; fixed in 3.2.5\n- mariadb (npm): affected from 3.3.0; fixed in 3.3.4\n- mariadb (npm): affected from 3.3.0; fixed in 3.3.4\n- mariadb (npm): affected from 3.4.0; fixed in 3.4.7\n- mariadb (npm): affected from 3.4.0; fixed in 3.4.7\n- mariadb (npm): affected from 3.5.0-rc.0; fixed in 3.5.4\n- mariadb (npm): affected from 3.5.0-rc.0; fixed in 3.5.4\n- mariadb-min (Bitnami): affected all versions; fixed in 3.2.5, 3.3.4, 3.4.7, 3.5.4\n- mysql-client (Bitnami): affected all versions; fixed in 3.2.5, 3.3.4, 3.4.7, 3.5.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-107385/ (Markdown: https://insights.sbomify.com/CVE-2026-107385/index.md)","id":"CVE-2026-107385","markdown":"https://insights.sbomify.com/CVE-2026-107385/index.md","name":"CVE-2026-107385","record":{"aliases":["BIT-mariadb-2026-107385","BIT-mariadb-min-2026-107385","BIT-mysql-client-2026-107385","GHSA-r3rv-jm3r-62q2"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"MariaDB Node.js connector","requires_auth":"none","summary":"SQL injection in MariaDB Connector/Node.js allows attackers to execute arbitrary SQL when NO_BACKSLASH_ESCAPES mode is enabled.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. Prior to 3.2.5, 3.3.4, 3.4.7, and 3.5.4, text-protocol escaping always prefixes quotes with a backslash and does not honor the session's NO_BACKSLASH_ESCAPES mode, including in Connection.escape(). When that mode is enabled, the backslash is an ordinary character, so an attacker-controlled placeholder value can close the SQL string literal and inject arbitrary SQL with the application's database privileges. The vulnerable configuration may be enabled server-wide, through connector initialization options, or with an application-issued SET sql_mode; execute() and batch() use binary protocols and are not affected. This issue is fixed in versions 3.2.5, 3.3.4, 3.4.7, and 3.5.4.","ecosystems":["Bitnami","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"MariaDB Connector/Node.js: SQL injection in the text protocol when the session uses NO_BACKSLASH_ESCAPES","id":"CVE-2026-107385","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":11,"n_references":11,"next":{"headline":"amqp091-go: Pre-negotiation frame limit is not enforced to 4KB","id":"CVE-2026-107386"},"packages":[{"ecosystem":"Bitnami","fixed":["3.2.5","3.3.4","3.4.7","3.5.4"],"introduced":["0","3.3.0","3.4.0","3.5.0"],"last_affected":[],"package":"mariadb","purl":"pkg:bitnami/mariadb","source":"BIT-mariadb-2026-107385"},{"ecosystem":"Bitnami","fixed":["3.2.5","3.3.4","3.4.7","3.5.4"],"introduced":["0","3.3.0","3.4.0","3.5.0"],"last_affected":[],"package":"mariadb-min","purl":"pkg:bitnami/mariadb-min","source":"BIT-mariadb-min-2026-107385"},{"ecosystem":"Bitnami","fixed":["3.2.5","3.3.4","3.4.7","3.5.4"],"introduced":["0","3.3.0","3.4.0","3.5.0"],"last_affected":[],"package":"mysql-client","purl":"pkg:bitnami/mysql-client","source":"BIT-mysql-client-2026-107385"},{"ecosystem":"npm","fixed":["3.2.5"],"introduced":["0"],"last_affected":[],"package":"mariadb","purl":null,"source":"GHSA-r3rv-jm3r-62q2"},{"ecosystem":"npm","fixed":["3.2.5"],"introduced":["0"],"last_affected":[],"package":"mariadb","purl":"pkg:npm/mariadb","source":"GHSA-r3rv-jm3r-62q2"},{"ecosystem":"npm","fixed":["3.3.4"],"introduced":["3.3.0"],"last_affected":[],"package":"mariadb","purl":null,"source":"GHSA-r3rv-jm3r-62q2"},{"ecosystem":"npm","fixed":["3.3.4"],"introduced":["3.3.0"],"last_affected":[],"package":"mariadb","purl":"pkg:npm/mariadb","source":"GHSA-r3rv-jm3r-62q2"},{"ecosystem":"npm","fixed":["3.4.7"],"introduced":["3.4.0"],"last_affected":[],"package":"mariadb","purl":null,"source":"GHSA-r3rv-jm3r-62q2"},{"ecosystem":"npm","fixed":["3.4.7"],"introduced":["3.4.0"],"last_affected":[],"package":"mariadb","purl":"pkg:npm/mariadb","source":"GHSA-r3rv-jm3r-62q2"},{"ecosystem":"npm","fixed":["3.5.4"],"introduced":["3.5.0-rc.0"],"last_affected":[],"package":"mariadb","purl":null,"source":"GHSA-r3rv-jm3r-62q2"},{"ecosystem":"npm","fixed":["3.5.4"],"introduced":["3.5.0-rc.0"],"last_affected":[],"package":"mariadb","purl":"pkg:npm/mariadb","source":"GHSA-r3rv-jm3r-62q2"}],"prev":{"headline":"MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)","id":"CVE-2026-107384"},"products":["mariadb-connector-nodejs"],"published":"2026-10-08","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-09","vendors":["mariadb-corporation"]},"summary":"SQL injection in MariaDB Connector/Node.js allows attackers to execute arbitrary SQL when NO_BACKSLASH_ESCAPES mode is enabled.","url":"https://insights.sbomify.com/CVE-2026-107385/"}