---
id: "CVE-2026-118677"
kind: "vulnerability"
aliases: ["CVE-2026-118677"]
title: "n8n Local Gateway: deep link silently re-pairs to attacker instance"
severity: "medium"
cvss: 5.9
epss: null
exploited: false
status: "open"
category: "ai-tooling"
products: []
ecosystems: []
tags: ["ai-agents", "ai-tooling", "desktop", "local-gateway", "n8n"]
not_affected_if: ["fixed-version", "no-local-gateway"]
published_at: "2026-10-28T19:17:33+00:00"
first_seen_at: "2026-10-28T19:34:55+00:00"
updated_at: "2026-10-28T19:36:13+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118677", "first_seen_at": "2026-10-28T19:34:55+00:00"}]
---

# n8n Local Gateway: deep link silently re-pairs to attacker instance

n8n's Local Gateway desktop app accepts an n8n-computer-use:// deep link that re-pairs it with a different n8n instance without confirmation. An attacker who lures a user into opening a crafted link can act on the user's computer through the gateway with the permissions already granted.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Local Gateway version against the fixed releases listed in the advisory, and look for n8n Local Gateway in the desktop app list.
- Confirm which n8n instance the Local Gateway is paired with in its settings.

## Fix

- Upgrade n8n to `2.41.4` or later on the 2.41 line, or to `2.42.1` or later on the 2.42 line.
- Revoke and re-pair the Local Gateway after upgrading if an unknown instance was paired.

## Timeline

- 2026-10-28T19:34:55+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-118677

## From the sources

n8n before 2.41.4 and 2.42.x before 2.42.1 contains a missing confirmation vulnerability in the Local Gateway desktop app that allows its deep-link connect handler to silently re-pair the app with a different n8n instance. Attackers can lure users running the Local Gateway into opening a crafted n8n-computer-use:// link to connect their computer to an attacker-controlled instance, inheriting previously granted permissions and acting on the computer through the gateway.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
