CVE Explorer
CVE-2026-27498
n8n is an open source workflow automation platform. Prior to versions 2.2.0 and 1.123.8, an authenticated user with permission to create or modify workflows could chain the Read/Write Files from Disk node with git operations to achieve remote code execution. By writing to specific configuration files and then triggering a git operation, the attacker could execute arbitrary shell commands on the n8n host. The issue has been fixed in n8n versions 2.2.0 and 1.123.8. Users should upgrade to one of t
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"n8n","vendor":"n8n-io","versions":[{"status":"affected","version":"< 1.123.8"},{"status":"affected","version":">= 2.0.0, < 2.2.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5a86505b4c7b0bc35ff0231fdb63dfcd677c1cd898acbfcf4f4e5a1eadc8df2f · sha256:a534b23a74784640… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":9,"baseSeverity":"CRITICAL","privilegesRequired":"LOW","subAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5a86505b4c7b0bc35ff0231fdb63dfcd677c1cd898acbfcf4f4e5a1eadc8df2f · sha256:a534b23a74784640… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5a86505b4c7b0bc35ff0231fdb63dfcd677c1cd898acbfcf4f4e5a1eadc8df2f · sha256:a534b23a74784640… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/n8n-io/n8n/commit/97365caf253978ba8e46d7bc53fa7ac3b6f67b32","tags":["x_refsource_MISC"],"url":"https://github.com/n8n-io/n8n/commit/97365caf253978ba8e46d7bc53fa7ac3b6f67b32"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5a86505b4c7b0bc35ff0231fdb63dfcd677c1cd898acbfcf4f4e5a1eadc8df2f · sha256:a534b23a74784640… · /containers/cna/references/1
{"name":"https://github.com/n8n-io/n8n/commit/e22acaab3dcb2004e5fe0bf9ef2db975bde61866","tags":["x_refsource_MISC"],"url":"https://github.com/n8n-io/n8n/commit/e22acaab3dcb2004e5fe0bf9ef2db975bde61866"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5a86505b4c7b0bc35ff0231fdb63dfcd677c1cd898acbfcf4f4e5a1eadc8df2f · sha256:a534b23a74784640… · /containers/cna/references/2
{"name":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.8","tags":["x_refsource_MISC"],"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5a86505b4c7b0bc35ff0231fdb63dfcd677c1cd898acbfcf4f4e5a1eadc8df2f · sha256:a534b23a74784640… · /containers/cna/references/3
{"name":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.2.0","tags":["x_refsource_MISC"],"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.2.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5a86505b4c7b0bc35ff0231fdb63dfcd677c1cd898acbfcf4f4e5a1eadc8df2f · sha256:a534b23a74784640… · /containers/cna/references/4
{"name":"https://github.com/n8n-io/n8n/security/advisories/GHSA-x2mw-7j39-93xq","tags":["x_refsource_CONFIRM"],"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-x2mw-7j39-93xq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5a86505b4c7b0bc35ff0231fdb63dfcd677c1cd898acbfcf4f4e5a1eadc8df2f · sha256:a534b23a74784640… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.