
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-25055 is a path traversal (arbitrary file write) vulnerability in n8n, an open-source workflow automation platform, affecting its SSH node component. When workflows process uploaded files and transfer them to remote servers via the SSH node without validating file metadata, an unauthenticated attacker can cause files to be written to arbitrary locations on those remote systems, potentially leading to remote code execution. The vulnerability affects n8n versions prior to 1.123.12 and versions 2.0.0 through 2.3.x (prior to 2.4.0). It was disclosed on February 4, 2026, with a CVSS v4.0 score of 7.1 (High) and a CVSS v3.1 score of 8.1 (High) (GitHub Advisory, n8n Security Advisory).
The root cause is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory — Path Traversal). The n8n SSH node fails to validate or sanitize file metadata (such as filenames) when transferring uploaded files to remote servers, allowing an attacker to supply path traversal sequences (e.g., ../../) in the filename to write files outside the intended destination directory on the remote system. Exploitation requires two preconditions: the attacker must have knowledge of a vulnerable workflow that accepts file uploads and forwards them via SSH, and the file upload endpoint must be unauthenticated. A PoC was noted as available by Field Effect and a Nuclei template pull request was submitted to ProjectDiscovery, indicating public exploit tooling exists (GitHub Advisory, Field Effect).
Successful exploitation allows an unauthenticated attacker to write arbitrary files to any location on remote systems connected via n8n's SSH node, with high impact to confidentiality, integrity, and availability of those subsequent systems. The most severe consequence is remote code execution on the remote SSH-connected systems — for example, by overwriting authorized SSH keys, cron jobs, or web-accessible scripts. The n8n platform itself (the vulnerable system) is not directly impacted in terms of confidentiality or integrity, but the downstream remote systems face full compromise (GitHub Advisory, n8n Security Advisory).
A public proof-of-concept is available, as noted by Field Effect's blog post and a Nuclei template pull request submitted to ProjectDiscovery (Field Effect, Nuclei Templates PR). There is no confirmed evidence of active in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is approximately 0.179% (39th percentile), indicating a relatively low but non-negligible probability of exploitation in the near term (GitHub Advisory). The vulnerability is not listed in the CISA KEV catalog as of the time of this report.
/webhook/ paths) to find workflows that accept file uploads and forward them via the SSH node.../../.ssh/authorized_keys or ../../etc/cron.d/backdoor) to target a sensitive location on the remote SSH server.~/.ssh/authorized_keys), the attacker can SSH into the remote system using the corresponding private key, achieving full remote code execution (GitHub Advisory, Field Effect)./webhook/) containing filenames with path traversal sequences (e.g., ../, %2e%2e%2f); unexpected outbound SSH connections from the n8n server to remote hosts.~/.ssh/authorized_keys; new or modified files in /etc/cron.d/, /etc/cron.hourly/, or other sensitive directories; web shells written to web-accessible directories.curl, wget, bash).The issue has been patched in n8n versions 1.123.12 (legacy branch) and 2.4.0 (v2.x branch); users should upgrade immediately (GitHub Advisory, n8n Security Advisory). If immediate upgrade is not possible, the following temporary mitigations should be applied:
These workarounds do not fully remediate the risk and should only be used as short-term measures pending upgrade.
The Belgium Centre for Cybersecurity (CCB) issued an advisory warning about multiple critical vulnerabilities in n8n, including CVE-2026-25055 (CCB Advisory). Field Effect published a blog post noting the availability of a public PoC for the vulnerability (Field Effect). A Reddit thread in r/bugbounty discussed the vulnerability shortly after disclosure, and a Bluesky post from The Hacker Wire highlighted it to the security community. A Nuclei detection template was submitted to ProjectDiscovery's community repository, reflecting active interest from the security research community (Nuclei Templates PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."