{"cve":"CVE-2026-54310","nvd":{"published":"2026-06-23T16:17:01.990","modified":"2026-10-26T11:10:00.157","status":"Analyzed","description":"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.","cvss_v4":{"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","score":6.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9},"cwes":["CWE-89"],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-c37g-w77q-m4vp"],"products":["n8n:n8n"],"source":"nvd","synced_at":"2026-10-26T11:33:08.859761529+00:00"},"epss":{"cve":"CVE-2026-54310","score":0.00545,"percentile":0.45428,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-c37g-w77q-m4vp","url":"https://osv.dev/vulnerability/GHSA-c37g-w77q-m4vp","summary":"n8n: SQL Injection in Postgres v1/TimesclaeDB Nodes","modified":"2026-07-20T13:45:32.236031985Z","packages":[{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":[">=2.26.0 <2.26.2"],"fixed":["2.26.2"]},{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":["<2.25.7"],"fixed":["2.25.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}