{"id":"CVE-2026-45732","published":"2026-06-23T15:52:19Z","modified":"2026-06-26T19:31:18Z","title":"n8n: Cross-user Authorization Bypass in Dynamic Credential OAuth Endpoints","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n is an open source workflow automation platform. Prior to 1.123.43, 2.22.1, and 2.20.7, the OAuth1 and OAuth2 credential reconnect endpoints authorized access using credential:read rather than credential:update. An authenticated user with read-only access to a shared credential could initiate an OAuth reconnect flow and overwrite the stored token material for that credential with tokens bound to an external account they control. Workflows relying on the affected credential would subsequently execute under the attacker's OAuth identity, enabling data exfiltration to attacker-controlled external services and persistent takeover of shared integrations. This vulnerability is fixed in 1.123.43, 2.22.1, and 2.20.7.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0035,"percentile":0.2938,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-6h4j-wcr9-2vg7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":5.88},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.123.43",">= 2.0.0-rc.0, < 2.20.7",">= 2.21.0, < 2.21.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-26T19:31:10.442780Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.123.43",">=2.21.0, <2.21.1",">=2.0.0-rc.0, <2.20.7"],"patched":["1.123.43","2.21.1","2.20.7"],"from":["GHSA-6h4j-wcr9-2vg7"],"provenance":"source"}],"summary":{"text":"The OAuth1 and OAuth2 credential reconnect endpoints in n8n, an open source workflow automation platform, check for credential:read instead of credential:update, which allows a flaw in authorization for overwriting stored credentials. An authenticated user who has only read-only access to a shared credential can start a reconnect flow and replace its stored tokens with ones tied to an external account they control, after which workflows using that credential run under the attacker's identity, risking data exfiltration and persistent takeover of shared integrations.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:09Z"},"euvd":{"id":"EUVD-2026-38482","exploited":false,"provenance":"source"}}