# CVE-2026-118677: n8n Local Gateway deep-link missing confirmation re-pairing

Source: https://junglewise.ai/threats/cve-2026-118677-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-missing  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-28. Updated: 2026-10-28  
License: CC BY 4.0 with a link back

CVE-2026-118677 · Severity: medium · CVSS 5.9 · Published 2026-10-28

n8n's Local Gateway desktop app is a tool that allows remote automation workflows to access and control a user's computer. An attacker can trick a user into opening a malicious link that silently re-pairs the app to an attacker-controlled n8n instance, automatically inheriting the permissions previously granted to the app. This enables the attacker to remotely execute actions on the user's computer through the compromised gateway.

Technologies: [N8n](https://junglewise.ai/threats/technologies/n8n). Vendors: [N8n](https://junglewise.ai/threats/vendors/n8n).

## Quick answers

**Is CVE-2026-118677 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-118677 being exploited in the wild.

**How severe is CVE-2026-118677?** Medium severity, with a CVSS score of 5.9, published 28 October 2026.

**Which products and versions are affected?** N8n before 2.41.4, 2.42.x before 2.42.1.

**Is there a fix for CVE-2026-118677?** Yes: fixed in 2.42.1, 2.41.4. Until then: Do not open unsolicited links using the n8n-computer-use:// scheme. Quit the Local Gateway app when not actively in use. Restrict the allowedOrigins setting to the specific instance URL rather than using the default wildcard. Disable the Computer Use / Local Gateway feature if it is not required. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-118677 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-118677?** Check whether you run N8n at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 2.42.1, 2.41.4

Do not open unsolicited links using the n8n-computer-use:// scheme. Quit the Local Gateway app when not actively in use. Restrict the allowedOrigins setting to the specific instance URL rather than using the default wildcard. Disable the Computer Use / Local Gateway feature if it is not required.

## Technical details

The Local Gateway's deep-link handler (n8n-computer-use:// scheme) fails to require user confirmation before re-pairing to a different n8n instance. The vulnerability is triggered when an attacker-controlled URI is opened by a user, causing the app to silently reconnect and preserve all previously granted permissions. Attack requires the Local Gateway app to be installed and running, user interaction to open a crafted link, and a network connection; a fix is available in versions 2.42.1 and 2.41.4.

## Affected products

- n8n n8n before 2.41.4, 2.42.x before 2.42.1

## Timeline

- 2026-10-14: disclosed
- 2026-10-28: advisory

## References

- [https://github.com/n8n-io/n8n/security/advisories/GHSA-cwm2-vhf5-27q9](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](https://www.vulncheck.com/advisories/n8n-before-2.41.4-and-2.42.1-local-gateway-deep-link-silent-re-pairing-to-attacker-instance)

## Related threats

- [n8n path traversal in Databricks node](https://junglewise.ai/threats/cve-2026-119557-n8n-from-2-14-0-through-2-46-3-contains-a-path-traversal)
- [n8n remote code execution in deprecated Function nodes](https://junglewise.ai/threats/cve-2026-119408-n8n-before-2-42-6-2-43-x-before-2-43-3-and-3-x-before-3-0-1)
- [n8n Slack Trigger SSRF and token exfiltration](https://junglewise.ai/threats/cve-2026-118679-n8n-before-1-123-83-2-41-4-and-2-42-1-contains-a-server-side)
- [n8n prototype pollution in workflow history compaction](https://junglewise.ai/threats/cve-2026-118678-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-prototype)
- [n8n authorization bypass in credential access control](https://junglewise.ai/threats/cve-2026-118676-n8n-before-1-123-85-2-43-5-and-2-44-1-contains-an-authorization)
