{"id":"CVE-2026-110840","revision":"a6be15a83aae4f63879d269fc98dc6fb","records":[{"revision":"a6be15a83aae4f63879d269fc98dc6fb","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-110840","aliases":[],"title":"n8n before 2.41.4 and 2.42.1 SQL Injection via Microsoft SQL Node Query Field","description":"n8n before 2.41.4 and 2.42.x before 2.42.1 contains an SQL injection vulnerability in version 1 of the Microsoft SQL node, which substitutes Query field expression values directly into SQL text without parameterisation. When a workflow binds untrusted input such as webhook fields to the Query field, unauthenticated external callers can execute arbitrary SQL against the connected database with the stored credential's privileges.","state":0,"publishedAt":"2026-10-14T22:52:15.513+00:00","modifiedAt":"2026-10-15T18:18:14.437+00:00","affected":[{"ecosystem":"Vendor product","name":"n8n","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"n8n-io\",\n                    \"product\": \"n8n\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/n8n\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2.41.4\"\n                        },\n                        {\n                            \"version\": \"2.42.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2.42.1\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:L","score":7,"severity":"HIGH"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-5qpp-pqww-h7fp","https://www.vulncheck.com/advisories/n8n-before-2.41.4-and-2.42.1-sql-injection-via-microsoft-sql-node-query-field"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-110840","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-110840","identifiers":["CVE-2026-110840"]},"retained":false,"historicalAffected":[]}],"coverage":[]}