GHSA-43v7-fp2v-68f6

Suggest an improvement
Source
https://github.com/advisories/GHSA-43v7-fp2v-68f6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-43v7-fp2v-68f6/GHSA-43v7-fp2v-68f6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-43v7-fp2v-68f6
Aliases
Published
2026-03-25T22:06:10Z
Modified
2026-03-25T22:18:13.902218Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:L CVSS Calculator
Summary
n8n's Source Control SSH Configuration Uses StrictHostKeyChecking=no
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-639"
    ],
    "github_reviewed": true,
    "nvd_published_at": "2026-03-25T19:16:51Z",
    "severity": "MODERATE",
    "github_reviewed_at": "2026-03-25T22:06:10Z"
}
References

Affected packages

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-43v7-fp2v-68f6/GHSA-43v7-fp2v-68f6.json"