{"id":"CVE-2026-33720","published":"2026-03-25T18:06:38Z","modified":"2026-03-25T20:07:47Z","title":"n8n Has Authorization Bypass in OAuth Callback via N8N_SKIP_AUTH_ON_OAUTH_CALLBACK","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n is an open source workflow automation platform. Prior to version 2.8.0, when the `N8N_SKIP_AUTH_ON_OAUTH_CALLBACK` environment variable is set to `true`, the OAuth callback handler skips ownership verification of the OAuth state parameter. This allows an attacker to trick a victim into completing an OAuth flow against a credential object the attacker controls, causing the victim's OAuth tokens to be stored in the attacker's credential. The attacker can then use those tokens to execute workflows in their name. This issue only affects instances where `N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true` is explicitly configured (non-default). The issue has been fixed in n8n version 2.8.0. Users should upgrade to this version or later to remediate the vulnerability. If upgrading is not immediately possible, administrators should consider the following temporary mitigations: Avoid enabling `N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true` unless strictly required, and/ or restrict access to the n8n instance to fully trusted users only. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00205,"percentile":0.1071,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-vpgc-2f6g-7w7x","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":2.14},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 2.8.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-25T20:07:38.883786Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<2.8.0"],"patched":["2.8.0"],"from":["GHSA-vpgc-2f6g-7w7x"],"provenance":"source"}],"summary":{"text":"n8n, the open source workflow automation platform, has an authorization bypass in its OAuth callback handler that is present when the N8N_SKIP_AUTH_ON_OAUTH_CALLBACK environment variable is explicitly set to true, a non-default configuration. An attacker who can get a victim to complete an OAuth flow against a credential object the attacker controls can cause the victim's OAuth tokens to be stored there, and then run workflows as the victim, which requires only that the victim take part in the flow (user interaction) and no prior authentication by the attacker.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:39Z"},"euvd":{"id":"EUVD-2026-15952","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-1470","published":"2026-01-27","fixed":"2.5.1","kev":false},{"cve":"CVE-2026-25049","published":"2026-02-04","fixed":"2.5.2","kev":false},{"cve":"CVE-2026-33722","published":"2026-03-25","fixed":"2.6.4","kev":false,"link":{"from":"CVE-2026-33722","to":"CVE-2026-33720","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"2.6.4","toFixed":"2.8.0","daysApart":0},{"kind":"similar","provenance":"machine","score":0.37,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-33720","published":"2026-03-25","fixed":"2.8.0","kev":false},{"cve":"CVE-2026-27493","published":"2026-02-25","fixed":"2.10.1","kev":false},{"cve":"CVE-2026-27494","published":"2026-02-25","fixed":"2.10.1","kev":false},{"cve":"CVE-2026-27495","published":"2026-02-25","fixed":"2.10.1","kev":false}],"package":"npm:n8n"}}