Description
n8n before 2.29.8 and 2.30.x before 2.30.1 (affected from 2.27.0, when the OAuth 2.1 consent and token-issuance flow was introduced) does not verify that the authenticated user has access to the workflow referenced as the OAuth resource. On instances with at least one active MCP Server Trigger workflow configured with n8n OAuth2 authentication, a member-level user can register an OAuth client, 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, and the attacker can set tool inputs and read outputs (potentially including data from the owner's connected integrations), breaking user and project isolation.
Published: 2026-07-22
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

n8n before version 2.30.1 allows an authenticated user to request access to any workflow referenced in an OAuth2 request without verifying that the user has permission to act on that workflow; because the OAuth2 consent and token-issuance flow is not checked against the user’s authorization, a member-level attacker can register an OAuth client, self-approve consent for another user’s workflow, obtain a valid token, and use that token to run the workflow within the target’s project context with the target’s stored credentials, thereby setting arbitrary inputs, executing the workflow, and reading outputs that may include sensitive data from the target’s connected integrations, breaking user and project isolation; this weakness aligns with CWE-863, which represents insufficient authorization checks when using credentials.

Affected Systems

The vulnerability affects all n8n instances from version 2.27.0 up to, but not including, 2.30.1. It requires at least one active MCP Server Trigger workflow configured with n8n OAuth2 authentication and applies specifically to the n8n product from the vendor n8n‑io, as identified by the CNA.

Risk and Exploitability

Assessed CVSS score of 5.1 indicates moderate severity, while the EPSS score of <1% suggests a very low probability of exploitation at this time; the CVE is not listed in CISA's KEV catalog; based on the description, the attack vector is limited to users with at least member-level access on the instance who can register OAuth clients; an attacker can obtain an unauthorized token that permits execution of the target user’s workflow in their project context, allowing read or possibly write access to data from the target’s integrations and thereby compromising user and project isolation.

Generated by OpenCVE AI on August 3, 2026 at 23:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to n8n 2.30.1 or later to restore the OAuth authorization check.
  • Disable MCP Server Trigger workflows that use OAuth2 authentication until the patch is applied.
  • Audit existing workflows for inappropriate permission scopes and enforce proper user access controls.

Generated by OpenCVE AI on August 3, 2026 at 23:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-q5xf-xhwf-cwqf n8n: Member-Level Users Can Execute Other Users' MCP Server Trigger Workflows via Missing OAuth Authorization Check
History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 11:45:00 +0000

Type Values Removed Values Added
Description n8n before 2.29.8 and 2.30.x before 2.30.1 (affected from 2.27.0, when the OAuth 2.1 consent and token-issuance flow was introduced) does not verify that the authenticated user has access to the workflow referenced as the OAuth resource. On instances with at least one active MCP Server Trigger workflow configured with n8n OAuth2 authentication, a member-level user can register an OAuth client, 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, and the attacker can set tool inputs and read outputs (potentially including data from the owner's connected integrations), breaking user and project isolation.
Title n8n before 2.30.1 Missing OAuth Authorization Check
First Time appeared N8n
N8n n8n
Weaknesses CWE-863
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-23T18:01:35.800Z

Reserved: 2026-07-22T10:45:44.832Z

Link: CVE-2026-65594

cve-icon Vulnrichment

Updated: 2026-07-23T18:01:25.083Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T12:18:19.527

Modified: 2026-07-27T19:13:07.460

Link: CVE-2026-65594

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T00:00:09Z

Weaknesses