# CVE-2026-54310: n8n: SQL Injection in Postgres v1/TimesclaeDB Nodes

- Severity: Medium 6.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-06-16T17:51:32.000Z
- Modified: 2026-10-26T11:10:00.157Z
- Also known as: GHSA-c37g-w77q-m4vp
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- n8n-io n8n: >= 2.26.0, < 2.26.2; < 2.25.7
- n8n (npm): from 2.26.0 before 2.26.2; before 2.25.7
- n8n n8n: before 2.25.7; from 2.26.0 before 2.26.2

## Every score

- GitHub_M: CVSS:4.0 6.5 Medium `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`
- GitHub: CVSS:3.1 9.9 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-c37g-w77q-m4vp> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54310> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-54310](https://www.cve.org/CVERecord?id=CVE-2026-54310), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-c37g-w77q-m4vp](https://github.com/advisories/GHSA-c37g-w77q-m4vp), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-54310](https://nvd.nist.gov/vuln/detail/CVE-2026-54310), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-54310 · Whole record: https://cve.day/CVE-2026-54310.json · Rebuilt by cve.day 2026-11-25T22:59:25.464Z
