6.3medium
n8n: GitHub Trigger 422 Reuse Path Skips Webhook Secret Storage, Causing Signature Verification to Fail-Open
- Severity
- 6.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5m98-cgcr-xx3q
Description
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the GitHub Trigger generated a webhook secret but discarded it when GitHub returned HTTP 422 and the node reused an existing webhook. Workflow static data then retained webhookId without webhookSecret, and X-Hub-Signature-256 verification accepted deliveries without a stored secret. The affected logic includes packages/nodes-base/nodes/Github/GithubTriggerHelpers.ts and the 422 webhook reuse path. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| n8n-io n8n | >= 2.38.0, < 2.38.2, >= 2.0.0, < 2.37.7, < 1.123.76 | CVE List |
| n8n (npm) | before 1.123.76, from 2.38.0 before 2.38.2, from 2.0.0 before 2.37.7 | GitHub Advisory Database |
| n8n n8n | before 1.123.76, from 2.0.0 before 2.37.7, from 2.38.0 before 2.38.2 | NVD |
All scores
| GitHub_M | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the GitHub Trigger generated a webhook secret but discarded it when GitHub returned HTTP 422 and the node reused an existing webhook. Workflow static data then retained webhookId without webhookSecret, and X-Hub-Signature-256 verification accepted deliveries without a stored secret. The affected logic includes packages/nodes-base/nodes/Github/GithubTriggerHelpers.ts and the 422 webhook reuse path. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
GitHub Advisory Database
Impact
The GitHub Trigger generated a signing secret when it registered a webhook and verified X-Hub-Signature-256 on each delivery. When GitHub answered the create request with a 422 because a webhook for the URL already existed, the node adopted the remote hook but kept only its id and events, discarding the secret it had generated. Deliveries to that workflow's webhook URL were then accepted from anyone. The patch re-fetches the existing hook by its stored id, re-applies the signing secret, and makes verification fail closed when no secret is stored.
Patches
The issue has been fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Deactivate and reactivate any GitHub Trigger workflows to force a fresh webhook registration with a new secret, provided the remote GitHub hook has been deleted first so that the 422 reuse path is not taken again.
- Restrict network access to the n8n webhook endpoint to GitHub's published IP ranges only.
- Audit GitHub Trigger workflow static data for entries that contain a
webhookIdbut nowebhookSecret, and treat those workflows as unprotected until reactivated successfully.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
References
| https://github.com/n8n-io/n8n/security/advisories/GHSA-5m98-cgcr-xx3q | mitigation, vendor-advisory, web | |
| https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76 | release-notes, web | |
| https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 | release-notes, web | |
| https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2 | release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-86080 | advisory | |
| https://github.com/n8n-io/n8n | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-86080 changed 2026-09-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5m98-cgcr-xx3q changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-86080 changed 2026-09-11 | Public domain |