OAuth2 Credential Flaw in n8n Automation Tool by n8n
CVE-2026-126385
4.8MEDIUM
What is CVE-2026-126385?
The n8n automation tool has a security flaw in its OAuth2 credential callback process within the dynamic-credential connect flow. This vulnerability allows an unauthorized party to exploit token generation. When a member possessing access to a resolvable OAuth2 credential sends the provider's authorization URL to a victim, the victim may unwittingly consent to the authorization without an active n8n session. Consequently, this results in the victim's OAuth tokens being stored under the identity of the malicious member, enabling them to execute workflows as if they were the victim. Users are urged to upgrade to the latest versions to mitigate this risk.
Affected Version(s)
n8n 2.46.0 < 2.46.1
n8n 0 < 2.45.5
n8n 3.0.0 < 3.0.1
