n8n's Source Control SSH Configuration Uses StrictHostKeyChecking=no
Medium5.4CVE-2026-33724 · Published Mar 25, 2026
## Impact When the Source Control feature is configured to use SSH, the SSH command used for git operations explicitly disabled host key verification. A network attacker positioned between the n8n instance and the remote Git server could intercept the connection and present a fraudulent host key, potentially injecting malicious content into workflows or intercepting repository data. - This issue only affects instances where the Source Control feature has been explicitly enabled and configured to use SSH (non-default). ## Patches The issue has been fixed in n8n version 2.5.0. Users should upgrade to this version or later to remediate the vulnerability. ## Workarounds If upgrading is not immediately possible, administrators should consider the following temporary mitigations: - Disable the Source Control feature if it is not actively required. - Restrict network access to ensure the n8n instance communicates with the Git server only over trusted, controlled network paths. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| n8n npm | < 2.5.0 | 2.5.0 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-639
- Also known as
- CVE-2026-33724
More n8n advisories
All n8n| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 25 | n8n Has External Secrets Authorization Bypass in Credential Saving | High6.3 | 1.123.23+1 more |
| Mar 25 | n8n Has Authorization Bypass in OAuth Callback via N8N_SKIP_AUTH_ON_OAUTH_CALLBACK | Medium4.7 | 2.8.0 |
| Mar 25 | n8n: LDAP Email-Based Account Linking Allows Privilege Escalation and Account Takeover | High8.2 | 1.121.0+1 more |
| Mar 25 | n8n: insecure direct object reference | High9.9 | 1.123.27+2 more |
| Mar 25 | n8n has Multiple Remote Code Execution Vulnerabilities in Merge Node AlaSQL SQL Mode | Critical9.9 | 1.123.27+2 more |
| Mar 25 | n8n has In-Process Memory Disclosure in its Task Runner | High6.5 | 1.123.22+2 more |