CVE-2026-45732 Details
Description
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.
A cross-user authorization bypass vulnerability has been identified in n8n, an open-source workflow automation platform. This issue affects versions prior to 1.123.43, 2.21.1, and 2.20.7. The vulnerability arises because the OAuth1 and OAuth2 credential reconnect endpoints incorrectly authorized access using 'credential:read' instead of 'credential:update'. As a result, an authenticated user with read-only access to a shared credential could initiate an OAuth reconnect flow and replace the stored token material with tokens linked to an external account they control. Consequently, workflows using the affected credential would execute under the attacker's OAuth identity, allowing data exfiltration to external services controlled by the attacker and a persistent takeover of shared integrations.
Users should upgrade to n8n versions 1.123.43, 2.21.1, or 2.20.7. If an immediate upgrade is not possible, administrators can temporarily restrict credential sharing to trusted users, audit shared credentials for unexpected OAuth token changes, and revoke any tokens that may have been replaced.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/n8n-io/n8n/security/advisories/GHSA-6h4j-wcr9-2vg7 | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| n8n n8n | < 1.123.43 >= 2.0.0, < 2.20.7 >= 2.21.0, < 2.22.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 24, 2026 | Initial Analysis | [email protected] |
| Jun 23, 2026 | New CVE Received | [email protected] |