Six n8n CVEs on the agent and MCP paths: tool-approval hijack, prototype pollution, Git-node RCE, and credential exfil
Summary
n8n, the open-source workflow and AI-agent builder, published a cluster of GitHub security advisories on Sep 30, 2026 for flaws that sit on its Agents and MCP surfaces. VulnCheck later assigned six CVE ids that landed in NVD on Oct 14, 2026. The highest-scoring ones are CVE-2026-110842 (CVSS 4.0 7.7 High): a member with only a read grant can abuse the MCP workflow-validation interpreter's prototype pollution to take over an owner account that lacks MFA; and CVE-2026-110845 (7.7 High): the Git node's Log operation skipped the usual strip of a repository's local git config, so pointing the node—including as an agent tool—at a repo whose config the attacker controls runs programs as the n8n process user. CVE-2026-110850 (7.2 High) lets an editor of a shared workflow pull the owner's agent-tool credentials because the save-time credential check missed ids stored in agent node parameters. Medium issues cover cross-user agent chat resume and tool-approval hijack (CVE-2026-110841, 6.1), cross-project Agents create ownership transfer (CVE-2026-110851, 6.1), and unauthenticated workflow execution via dynamic-path webhook, form, and MCP route resolution that matched on path alone (CVE-2026-110852, 6.3). n8n fixed them in 1.123.83 (1.x), 2.41.4 (stable 2.41 line), and 2.42.1 (2.42.x; 110841 also lists 2.42.0). The vendor's Oct 1 community security update says cloud instances are patched automatically, and Canada's CCCS advisory AV26-1044 (Oct 15) points operators at those builds. The advisories and patches shipped before the public CVE records. We found no report that these six CVEs are being exploited.
Severity
Timeline
Fixed builds land on npm: 1.123.83, 2.41.4, 2.42.0 (for CVE-2026-110841) and 2.42.1.
n8n publishes the six GitHub advisories (GHSA-p3pg, GHSA-5jr4, GHSA-x8wx, GHSA-x25p, GHSA-2r5r, GHSA-4c7j) on the n8n-io/n8n repo.
n8n posts its bi-weekly community security update listing the advisories and the fixed versions, and says cloud instances are patched automatically.
VulnCheck publishes the six CVE records; NVD lists them as Deferred.
Canada's CCCS publishes advisory AV26-1044 pointing operators at builds before 1.123.83 / 2.41.4 / 2.42.1.
How it happened
All six sit on n8n's Agents and MCP surfaces. CVE-2026-110841 (GHSA-p3pg): the agent chat resume endpoint accepted a run id without checking the suspended checkpoint belonged to the caller, and project-scoped sibling reads let any project member list and read another member's agent chats, then answer a pending tool approval so the tool ran and wrote into the victim's conversation. CVE-2026-110842 (GHSA-5jr4): the MCP workflow-validation tool evaluates caller-supplied code in-process through an interpreter that reads inherited properties and allows assignment onto shared prototypes, so a read-grant member can make a permission check return truthy and take over a non-MFA owner account. CVE-2026-110845 (GHSA-x8wx): the Git node strips hostile local git config before most operations but not Log, which invokes an external program; usable as an agent tool. CVE-2026-110850 (GHSA-x25p): when an editor saves a shared workflow, the credential check inspected node.credentials but missed agent model and tool credential ids in parameters, so an editor could resolve the owner's secrets through tools they control. CVE-2026-110851 (GHSA-2r5r): Agents create accepted a client-supplied id and updated an existing row without checking which project owned it. CVE-2026-110852 (GHSA-4c7j): dynamic-path webhook, form and MCP resolution matched on path alone, so omitting the unguessable id still executed the workflow unauthenticated (node-level auth still applies).
How to check your app
- Upgrade self-hosted n8n to 1.123.83 or later on the 1.x line, 2.41.4 or later on 2.41.x, or 2.42.1 or later on 2.42.x (or current latest; npm latest was 2.43.6 as of Oct 15, 2026).
- If you run n8n Cloud, the Oct 1 vendor update says instances are patched automatically — confirm your build.
- Until patched: restrict the instance to fully trusted users; enable MFA on owner and admin accounts (limits the 110842 takeover path); disable Agents or instance MCP if unused; turn on node-level auth on dynamic-path webhooks; consider NODES_EXCLUDE for the Git node; audit shared workflows that use inline Message an Agent nodes.
Sources
- GitHub advisory GHSA-p3pg-xw4f-m72c: Cross-User Agent Chat Resume (CVE-2026-110841)
- GitHub advisory GHSA-5jr4-xmvf-frmj: MCP workflow-validation prototype pollution (CVE-2026-110842)
- GitHub advisory GHSA-x8wx-g24x-3549: Git node Log code execution (CVE-2026-110845)
- GitHub advisory GHSA-x25p-9mr6-cwgp: Agent node credential check bypass (CVE-2026-110850)
- GitHub advisory GHSA-2r5r-xgvc-rj4p: Cross-project Agents create (CVE-2026-110851)
- GitHub advisory GHSA-4c7j-qff5-r9cx: Unauth webhook/form/MCP path resolution (CVE-2026-110852)
- NVD: CVE-2026-110841
- NVD: CVE-2026-110842
- NVD: CVE-2026-110845
- NVD: CVE-2026-110850
- NVD: CVE-2026-110851
- NVD: CVE-2026-110852
- VulnCheck: n8n MCP workflow-validation prototype pollution (CVE-2026-110842)
- VulnCheck: n8n Git node Log code execution (CVE-2026-110845)
- VulnCheck: n8n agent node credential bypass (CVE-2026-110850)
- n8n Community: Security update — 01 October 2026
- Canadian Centre for Cyber Security: n8n security advisory AV26-1044
- npm registry metadata for n8n