{"id":"CVE-2026-54310","published":"2026-06-23T15:40:15Z","modified":"2026-06-23T15:46:41Z","title":"n8n: SQL Injection in Postgres v1/TimesclaeDB Nodes","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, an authenticated user with permission to create or modify workflows could supply a crafted parameters to the TimescaleDB and/or legacy Postgres v1 node's allowing arbitrary SQL to be injected and executed against the connected database within the privileges of the configured database account. This vulnerability is fixed in 2.25.7 and 2.26.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00545,"percentile":0.39259,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-c37g-w77q-m4vp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":7.85},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":[">= 2.26.0, < 2.26.2","< 2.25.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T15:46:26.089057Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":[">=2.26.0, <2.26.2","<2.25.7"],"patched":["2.26.2","2.25.7"],"from":["GHSA-c37g-w77q-m4vp"],"provenance":"source"}],"summary":{"text":"A SQL injection flaw in the TimescaleDB and legacy Postgres v1 nodes of n8n, an open source workflow automation platform, allows crafted node parameters to inject SQL that the platform passes to the connected database. An attacker who already holds an account with permission to create or modify workflows, and who has network access to the n8n instance, can execute arbitrary SQL against the connected database with the privileges of the configured database account, and no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:29Z"},"euvd":{"id":"EUVD-2026-38470","exploited":false,"provenance":"source"}}