CVE-2026-65594

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:community:node.js:*:*
cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:enterprise:node.js:*:*

History

24 Oct 2026, 17:10

Type Values Removed Values Added
Summary
  • (es) n8n anterior a 2.29.8 y 2.30.x anterior a 2.30.1 (afectado desde 2.27.0, cuando se introdujo el flujo de consentimiento y emisión de tokens de OAuth 2.1) no verifica que el usuario autenticado tenga acceso al flujo de trabajo referenciado como recurso OAuth. En instancias con al menos un flujo de trabajo activo de MCP Server Trigger configurado con autenticación n8n OAuth2, un usuario de nivel de miembro puede registrar un cliente OAuth, autoaprobar el consentimiento para el flujo de trabajo de otro usuario y obtener un token válido. El flujo de trabajo se ejecuta entonces en el contexto del proyecto del propietario con las credenciales almacenadas del propietario, y el atacante puede establecer entradas de herramientas y leer salidas (potencialmente incluyendo datos de las integraciones conectadas del propietario), rompiendo el aislamiento de usuario y proyecto.

Information

Published : 2026-07-22 12:18

Updated : 2026-10-29 20:17


NVD link : CVE-2026-65594

Mitre link : CVE-2026-65594

CVE.ORG link : CVE-2026-65594


JSON object : View

Products Affected

n8n

  • n8n
CWE
CWE-863

Incorrect Authorization