CVE-2026-65594: Incorrect Authorization in n8n-io n8n
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.
AI Analysis
Technical Summary
CVE-2026-65594 is an incorrect authorization vulnerability in n8n's OAuth 2.1 consent and token issuance flow introduced in version 2.27.0. The affected versions (prior to 2.29.8 and 2.30.x before 2.30.1) do not verify that the authenticated user has access rights 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. This token allows the attacker to run the workflow in the owner's project context using the owner's stored credentials, enabling the attacker to set tool inputs and read outputs, potentially exposing data from the owner's connected integrations and violating user and project isolation.
Potential Impact
An attacker with member-level access can escalate privileges by obtaining valid OAuth tokens for workflows they do not own. This enables unauthorized execution of workflows in the context of other users, potentially exposing sensitive data from connected integrations and breaking isolation boundaries between users and projects. The vulnerability undermines the security model of n8n's OAuth 2.1 implementation and may lead to data leakage and unauthorized actions within the affected environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict member-level user permissions to prevent unauthorized OAuth client registration and workflow execution. Monitor for updates from n8n-io regarding patches or official mitigations addressing this vulnerability.
CVE-2026-65594: Incorrect Authorization in n8n-io n8n
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.
CVSS v4.0
Score 5.1medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-65594 is an incorrect authorization vulnerability in n8n's OAuth 2.1 consent and token issuance flow introduced in version 2.27.0. The affected versions (prior to 2.29.8 and 2.30.x before 2.30.1) do not verify that the authenticated user has access rights 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. This token allows the attacker to run the workflow in the owner's project context using the owner's stored credentials, enabling the attacker to set tool inputs and read outputs, potentially exposing data from the owner's connected integrations and violating user and project isolation.
Potential Impact
An attacker with member-level access can escalate privileges by obtaining valid OAuth tokens for workflows they do not own. This enables unauthorized execution of workflows in the context of other users, potentially exposing sensitive data from connected integrations and breaking isolation boundaries between users and projects. The vulnerability undermines the security model of n8n's OAuth 2.1 implementation and may lead to data leakage and unauthorized actions within the affected environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict member-level user permissions to prevent unauthorized OAuth client registration and workflow execution. Monitor for updates from n8n-io regarding patches or official mitigations addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-22T10:45:44.832Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a60ab939c2644c7f8eced3d
Added to database: 07/22/2026, 11:37:55 UTC
Last enriched: 07/22/2026, 11:53:29 UTC
Last updated: 07/23/2026, 02:51:54 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.