CVE-2026-45732: CWE-639: Authorization Bypass Through User-Controlled Key in n8n-io n8n
A vulnerability in n8n workflow automation platform prior to versions 1.123.43, 2.22.1, and 2.20.7 allows an authenticated user with read-only access to a shared OAuth credential to overwrite stored token material. This occurs because the OAuth reconnect endpoints incorrectly authorize using credential:read instead of credential:update. Exploitation enables workflows to run under the attacker's OAuth identity, potentially leading to data exfiltration and persistent takeover of shared integrations. The issue is fixed in the stated versions.
AI Analysis
Technical Summary
CVE-2026-45732 is an authorization bypass vulnerability in the n8n workflow automation platform affecting OAuth1 and OAuth2 credential reconnect endpoints. Before versions 1.123.43, 2.22.1, and 2.20.7, these endpoints authorized access using credential:read permissions rather than the more restrictive credential:update permissions. 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. This allows subsequent workflow executions to operate under the attacker's OAuth identity, enabling data exfiltration to attacker-controlled services and persistent compromise of shared integrations. The vulnerability is addressed by updating to versions 1.123.43, 2.22.1, or 2.20.7.
Potential Impact
An attacker with authenticated read-only access to a shared OAuth credential can overwrite the credential's token material, causing workflows to execute with the attacker's OAuth identity. This can lead to unauthorized data exfiltration and persistent takeover of shared integrations relying on the compromised credential.
Mitigation Recommendations
This vulnerability is fixed in n8n versions 1.123.43, 2.22.1, and 2.20.7. Users should upgrade to one of these versions or later to remediate the issue. No other mitigation or temporary workaround is indicated.
CVE-2026-45732: CWE-639: Authorization Bypass Through User-Controlled Key in n8n-io n8n
Description
A vulnerability in n8n workflow automation platform prior to versions 1.123.43, 2.22.1, and 2.20.7 allows an authenticated user with read-only access to a shared OAuth credential to overwrite stored token material. This occurs because the OAuth reconnect endpoints incorrectly authorize using credential:read instead of credential:update. Exploitation enables workflows to run under the attacker's OAuth identity, potentially leading to data exfiltration and persistent takeover of shared integrations. The issue is fixed in the stated versions.
CVSS v4.0
Score 8.3high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-45732 is an authorization bypass vulnerability in the n8n workflow automation platform affecting OAuth1 and OAuth2 credential reconnect endpoints. Before versions 1.123.43, 2.22.1, and 2.20.7, these endpoints authorized access using credential:read permissions rather than the more restrictive credential:update permissions. 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. This allows subsequent workflow executions to operate under the attacker's OAuth identity, enabling data exfiltration to attacker-controlled services and persistent compromise of shared integrations. The vulnerability is addressed by updating to versions 1.123.43, 2.22.1, or 2.20.7.
Potential Impact
An attacker with authenticated read-only access to a shared OAuth credential can overwrite the credential's token material, causing workflows to execute with the attacker's OAuth identity. This can lead to unauthorized data exfiltration and persistent takeover of shared integrations relying on the compromised credential.
Mitigation Recommendations
This vulnerability is fixed in n8n versions 1.123.43, 2.22.1, and 2.20.7. Users should upgrade to one of these versions or later to remediate the issue. No other mitigation or temporary workaround is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T05:51:48.667Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3ab6d9eed863c81e4f9e91
Added to database: 06/23/2026, 16:39:53 UTC
Last enriched: 06/23/2026, 16:56:22 UTC
Last updated: 06/23/2026, 17:09:02 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.