# CVE-2026-27497: n8n has Potential Remote Code Execution via Merge Node

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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.90%, higher than 60% of CVEs (2026-12-01)
- Published: 2026-02-25T21:23:30.000Z
- Modified: 2026-06-17T10:27:15.470Z
- Also known as: GHSA-wxx7-mcgf-j869
- Weaknesses: CWE-89, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

n8n is an open source workflow automation platform. Prior to versions 2.10.1, 2.9.3, and 1.123.22, an authenticated user with permission to create or modify workflows could leverage the Merge node's SQL query mode to execute arbitrary code and write arbitrary files on the n8n server. The issues have been fixed in n8n versions 2.10.1, 2.9.3, and 1.123.22. Users should upgrade to one of these versions or later to remediate all known vulnerabilities. If upgrading is not immediately possible, administrators should consider the following temporary mitigations. Limit workflow creation and editing permissions to fully trusted users only, and/or disable the Merge node by adding `n8n-nodes-base.merge` to the `NODES_EXCLUDE` environment variable. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

(As written by CVE List.)

## Affected

- n8n-io n8n: < 1.123.22; >= 2.0.0, < 2.9.3; >= 2.10.0, < 2.10.1
- n8n (npm): before 1.123.22; from 2.0.0 before 2.9.3; from 2.10.0 before 2.10.1
- n8n n8n: before 1.123.22; from 2.0.0 before 2.9.3; from 2.10.0 before 2.10.1

## Every score

- GitHub_M: CVSS:4.0 9.4 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- GitHub: 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`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-wxx7-mcgf-j869> (vendor-advisory, web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.22> (release-notes, web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@2.10.1> (release-notes, web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@2.9.3> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27497> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-27497](https://www.cve.org/CVERecord?id=CVE-2026-27497), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-wxx7-mcgf-j869](https://github.com/advisories/GHSA-wxx7-mcgf-j869), CC-BY-4.0, modified 2026-02-28
- NVD: [CVE-2026-27497](https://nvd.nist.gov/vuln/detail/CVE-2026-27497), Public domain, modified 2026-06-17

---

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