---
id: CVE-2026-65594
title: n8n before 2.30.1 Missing OAuth Authorization Check
summary: >-
  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.…
severity: medium
cvss: 5.1
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-863
vendor: n8n-io
product: n8n
affected:
  - n8n >= 2.30.0 < 2.30.1
  - n8n < 2.29.8
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-07-23T18:01:20.810448Z'
published: '2026-07-22'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T21:16:24.660Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-65594'
references:
  - url: 'https://github.com/n8n-io/n8n/security/advisories/GHSA-q5xf-xhwf-cwqf'
    label: GitHub Security Advisory (GHSA-q5xf-xhwf-cwqf)
  - url: >-
      https://www.vulncheck.com/advisories/n8n-before-missing-oauth-authorization-check
    label: 'VulnCheck Advisory: n8n before 2.30.1 Missing OAuth Authorization Check'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-65594'
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@2.29.8'
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@2.30.1'
  - url: 'https://github.com/advisories/GHSA-q5xf-xhwf-cwqf'
tags:
  - cve.org
  - ghsa
  - npm
epss: 0.0044
epssPercentile: 0.38276
aliases:
  - GHSA-q5xf-xhwf-cwqf
ecosystem: npm
patched:
  - n8n 2.30.1
  - n8n 2.29.8
ingestedAt: '2026-07-22T23:07:32.651Z'
---

## Overview

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.

## Affected

- `n8n >= 2.30.0 < 2.30.1`
- `n8n < 2.29.8`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-65594)

Affected packages:

- `n8n >= 2.30.0, < 2.30.1`
- `n8n < 2.29.8`

Patched in:

- `n8n 2.30.1`
- `n8n 2.29.8`

Source: https://github.com/advisories/GHSA-q5xf-xhwf-cwqf
