Skip to content
Heist/ feed
Back to feed
Medium

n8n before 2.30.1 Missing OAuth Authorization Check

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-65594
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:05 UTC · Revision 1

Source evidence

n8n before 2.30.1 Missing OAuth Authorization Check

core-osv · Original source

Published 22 Jul 2026, 11:21 UTC

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.

osv:CVE-2026-65594
Complete source record
{
  "id": "2a2b22243125e25b4e003f8f415624531919fea74ac39cebf707c9ac0b771b83",
  "url": "https://osv.dev/vulnerability/CVE-2026-65594",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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. 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.",
    "evidence": "osv:CVE-2026-65594",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-65594",
      "aliases": [
        "CVE-2026-65594",
        "GHSA-q5xf-xhwf-cwqf"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/n8n-io/n8n",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f4871fea29cb99720dbcecbcb276839663356c11"
                },
                {
                  "fixed": "7786117e976664b67288f13d6cfcd1fcf1b1289b"
                },
                {
                  "introduced": "f96d6dbd8442a0db3a90b7c8376b75994b26ed5d"
                },
                {
                  "last_affected": "f96d6dbd8442a0db3a90b7c8376b75994b26ed5d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*",
                    "range": [
                      {
                        "introduced": "2.27.0"
                      },
                      {
                        "fixed": "2.29.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*",
                    "range": [
                      {
                        "introduced": "2.27.0"
                      },
                      {
                        "fixed": "2.29.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:community:node.js:*:*",
                    "range": [
                      {
                        "introduced": "2.30.0"
                      },
                      {
                        "last_affected": "2.30.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:enterprise:node.js:*:*",
                    "range": [
                      {
                        "introduced": "2.30.0"
                      },
                      {
                        "last_affected": "2.30.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.30.0",
            "n8n@2.30.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65594.json"
          }
        }
      ],
      "modified": "2026-10-31T02:30:31.211371109Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65594.json",
        "https://github.com/n8n-io/n8n/security/advisories/GHSA-q5xf-xhwf-cwqf",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-65594",
        "https://www.vulncheck.com/advisories/n8n-before-missing-oauth-authorization-check"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-863"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65594.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-65594",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498207,
  "published_at": "2026-07-22T11:21:42.75+00:00"
}