Skip to content
MediumVulnerability

GHSA-q5xf-xhwf-cwqf: n8n: Member-Level Users Can Execute Other Users' MCP Server Trigger Workflows via Missing OAuth Authorization Check

Published
Record updated
View JSON
Affected
  • n8n < 2.29.8, fixed in 2.29.8, released July 8, 2026, 14 days before disclosure
  • n8n >= 2.30.0, < 2.30.1, fixed in 2.30.1, released July 8, 2026, 14 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

GHSA-q5xf-xhwf-cwqf affects n8n instances running 2.27.0 or later with an active workflow using an MCP Server Trigger node configured with `n8n OAuth2` authentication. The OAuth 2.1 consent and token-issuance flow does not check whether the authenticated user can access the referenced workflow, so a member-level user can self-approve consent for another user's workflow and obtain a valid token. The workflow then runs in the owner's project context with the owner's stored credentials, letting the attacker set inputs and read outputs, which may include data from the owner's connected integrations.

Mitigation

Fixed in n8n 2.29.8 and 2.30.1; upgrade to one of these versions or later. If upgrading is not immediately possible, restrict instance access to fully trusted users only and audit active MCP Server Trigger workflows using `n8n OAuth2`, switching their authentication method or deactivating them until the patch is applied. These workarounds do not fully remediate the risk and are short-term measures only.