GHSA-m82q-59gv-mcr9: n8n Vulnerable to Arbitrary File Write on Remote Systems via SSH Node
- Identifiers
- CVE-2026-25055GHSA-m82q-59gv-mcr9
- Published
- Record updated
- Affected
- n8n >= 2.0.0, < 2.4.0, fixed in 2.4.0
- n8n < 1.123.12, fixed in 1.123.12
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.9%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
n8n contains a vulnerability in its SSH node. When workflows process uploaded files and transfer them to remote servers without validating their metadata, files can be written to unintended locations on those remote systems, potentially leading to remote code execution. Exploitation requires that an unauthenticated attacker knows such workflows exist and that the file upload endpoints are unauthenticated.
Mitigation
Fixed in n8n version 2.4.0 and 1.123.12. Users should upgrade to this version or later. If upgrading is not immediately possible, temporary workarounds are: disable or restrict access to workflows that accept file uploads via webhooks and transfer them via SSH; enable webhook authentication on all endpoints that handle file uploads; and review SSH credential usage and consider rotating SSH credentials if in doubt. These workarounds do not fully remediate the risk and should only be used as short-term measures.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- n8nnpmLLM dependency since 2026-02-11
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database