n8n before 2.30.1 Missing OAuth Authorization Check
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
n8nnpm | >= 2.30.0, < 2.30.1 | 2.30.1 |
n8nnpm | < 2.29.8 | 2.29.8 |
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-q5xf-xhwf-cwqfghsaADVISORY
- github.com/n8n-io/n8n/security/advisories/GHSA-q5xf-xhwf-cwqfghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-65594ghsaADVISORY
- www.vulncheck.com/advisories/n8n-before-missing-oauth-authorization-checkghsathird-party-advisoryWEB
- github.com/n8n-io/n8n/releases/tag/[email protected]ghsaWEB
- github.com/n8n-io/n8n/releases/tag/[email protected]ghsaWEB
News mentions
0No linked articles in our index yet.