CVE-2026-45732 n8n: Cross-user Authorization Bypass in Dynamic Credential OAuth Endpoints
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| n8n | < 1.123.43; >= 2.0.0, < 2.20.7; >= 2.21.0, < 2.22.1 | 1.123.43, 2.20.7, 2.22.1 | Fixed |
| npm n8n(npm) | < 1.123.43; >= 2.0.0-rc.0, < 2.20.7; >= 2.21.0, < 2.21.1 | 1.123.43, 2.20.7, 2.21.1 | Fixed |
| n8n-io n8n | = < 1.123.43; = >= 2.0.0-rc.0, < 2.20.7; = >= 2.21.0, < 2.21.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| n8n-io n8n | = < 1.123.43 | No fix listed |
| n8n-io n8n | = >= 2.0.0-rc.0, < 2.20.7 | No fix listed |
| n8n-io n8n | = >= 2.21.0, < 2.21.1 | No fix listed |
| npm n8n(npm) | < 1.123.43 | 1.123.43 |
| npm n8n(npm) | >= 2.21.0, < 2.21.1 | 2.21.1 |
| npm n8n(npm) | >= 2.0.0-rc.0, < 2.20.7 | 2.20.7 |
| n8n | < 1.123.43 | 1.123.43 |
| n8n | >= 2.0.0, < 2.20.7 | 2.20.7 |
| n8n | >= 2.21.0, < 2.22.1 | 2.22.1 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-6h4j-wcr9-2vg7 mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product