n8n Arbitrary File Write on Remote Systems via SSH Node
Description
n8n is an open source workflow automation platform. Prior to versions 1.123.12 and 2.4.0, when workflows process uploaded files and transfer them to remote servers via the SSH node without validating their metadata the vulnerability can lead to files being written to unintended locations on those remote systems potentially leading to remote code execution on those systems. As a prerequisites an unauthenticated attacker needs knowledge of such workflows existing and the endpoints for file uploads need to be unauthenticated. This issue has been patched in versions 1.123.12 and 2.4.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
n8nnpm | >= 2.0.0, < 2.4.0 | 2.4.0 |
n8nnpm | < 1.123.12 | 1.123.12 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-m82q-59gv-mcr9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-25055ghsaADVISORY
- github.com/n8n-io/n8n/commit/528ad6b982d0519ec170e172f57b7fdbbe175230ghsaWEB
- github.com/n8n-io/n8n/commit/e0baf48c6a54808f6dbca8cb352bfa306092c223ghsaWEB
- github.com/n8n-io/n8n/security/advisories/GHSA-m82q-59gv-mcr9ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.