Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify n8n instance with GitHub Trigger workflows
-
DeliveryDiscover webhook endpoint URL for target workflow
-
ExploitConfirm webhookSecret is absent (422 reuse path occurred)
-
InstallCraft fake GitHub event payload (push, PR, or other subscribed event)
-
C2POST payload to webhook endpoint without valid HMAC signature
-
ExecuteSignature check passes due to missing stored secret
-
ImpactWorkflow executes with attacker-controlled event data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Two conditions must both be met: (1) the target n8n GitHub Trigger node must have previously registered a webhook where GitHub responded with HTTP 422 (webhook URL already exists), causing the node to reuse the existing webhook without writing a webhookSecret into static data - workflows registered successfully on first attempt retain a valid secret and are not vulnerable; (2) the attacker must know or discover the n8n webhook endpoint URL, which is deterministic based on the instance base URL and workflow/node identifiers. No authentication against n8n is required. Exploitation is limited to the GitHub Trigger node component and the 422-reuse code path; other trigger node types are not affected by this issue. |
| Impact | The CVSS 4.0 score of 6.3 correctly characterizes this as a medium-severity integrity issue. The AT:P (attack requirements: present) metric captures the key precondition - the 422 reuse code path must have already been triggered before an attacker can exploit the missing secret. In practice this means the webhook URL must have been registered previously, making the vulnerable state conditional rather than universal across all n8n deployments. Once the precondition is met, exploitation is network-accessible and requires no authentication, making affected instances a realistic target for automated scanning. No public exploit code exists and the vulnerability is not listed in CISA KEV, so there is no confirmed active exploitation signal. Even a mid-sized municipal IT team in walbrzych running n8n automation pipelines for GitHub integrations should treat this as a normal patch-cycle priority rather than an emergency response item, given the low-integrity-only impact (VI:L) and the conditional attack requirement. EPSS data is absent from the provided input and cannot be assessed. The provided CVSS 4.0 vector is internally consistent with the described behavior and is accepted as accurate. |
| Exploit ScenarioDerived | An attacker discovers an n8n instance with a GitHub Trigger workflow whose static data contains a webhookId but no webhookSecret - the signature of the 422-triggered reuse bug. The attacker crafts a fake GitHub push-event JSON payload and POSTs it directly to the known webhook endpoint; the missing secret causes signature validation to pass unconditionally. Depending on the workflow's downstream nodes, this may invoke CI/CD pipelines, write to databases, send notifications, or execute shell commands with attacker-controlled input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Webhook signature verification in n8n's GitHub Trigger node fails open when GitHub returns HTTP 422 during webhook registration, causing the platform to reuse an existing webhook while silently discarding the generated secret. Workflow static data then retains a webhookId with no corresponding webhookSecret, and the X-Hub-Signature-256 validation logic accepts any inbound delivery unconditionally, allowing network attackers to inject forged GitHub events and trigger arbitrary workflow executions. Versions prior to 1.123.76 (v1.x), 2.37.7 (v2.x), and 2.38.2 (v2.38.x) are affected; no public exploit or CISA KEV listing has been identified.
RemediationAI
Upgrade n8n to version 1.123.76 or later (v1.x), 2.37.7 or later (v2.x), or 2.38.2 or later (v2.38.x). Release artifacts are available at the GitHub release tags referenced in the advisory GHSA-5m98-cgcr-xx3q. If immediate upgrade is not possible, identify any GitHub Trigger workflows where webhook registration previously returned a 422 from GitHub - these can be identified by checking static data for a webhookId with no webhookSecret - and re-create those webhooks by disabling and re-enabling the trigger node, forcing a fresh registration attempt. As an additional network-level control, restrict inbound webhook HTTP traffic to GitHub's published delivery IP ranges (available via GitHub's IP meta API); note that this reduces attack surface but does not repair the signature verification logic and GitHub's delivery IPs are shared infrastructure.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n is an open-source workflow automation platform that uses GitHub Trigger nodes to subscribe to GitHub repository events via webhooks. The registration logic in packages/nodes-base/nodes/Github/GithubTriggerHelpers.ts calls the GitHub Webhooks API and stores the returned webhookId and webhookSecret in the workflow's static data for later use in X-Hub-Signature-256 HMAC validation. CWE-347 (Improper Verification of Cryptographic Signature) applies directly: on a HTTP 422 response from GitHub indicating an existing webhook at the URL, the code takes the reuse path, discards the freshly generated secret, and writes only the webhookId into static data. The downstream signature-check routine then encounters a missing secret and, rather than rejecting the delivery, passes verification - a classic 'fail open' cryptographic check. This flaw is scoped to the GitHub Trigger node and the 422 reuse code path specifically; workflows whose webhook registration succeeded on first attempt retain a valid stored secret and are not affected.
Know when N8n gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
AC:H reflects the required precondition (prior 422 reuse leaving no stored secret); impact is integrity-only and low, as forged events trigger workflows but do not breach confidentiality or availability.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
EUVD-2026-74276
GHSA-5m98-cgcr-xx3q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB