Intel

AIKIDO-2026-675877

n8n is vulnerable to Authorization Bypass

Authorization Bypass Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 4 days ago

59

Medium Risk

This Affects:

JSn8n
2.1.0 - 2.31.0
Fixed in 2.31.1
Are you affected? Scan for Free

TL;DR

n8n's Dynamic Credentials feature generates OAuth authorization links for end-user credential connections through the dynamic-credentials.ee authorize endpoint. The generated authorization token is not bound to the user who initiated it, so a different authenticated user who obtains the link can complete the OAuth flow and bind their own credential into the initiator's account. This lets one user hijack or pollute another user's credential connection, so later workflow executions run under an unintended OAuth identity. The fix binds the initiating userId to the authorization intent and rejects unauthenticated or mismatched users, failing closed when ownership cannot be resolved.

Who does this affect?

You are affected if you run a version in the vulnerable range on a multi-user instance with the Enterprise Dynamic Credentials (end-user credentials) feature enabled, because a different signed-in user who obtains an authorize link can complete the OAuth flow and bind their own credential into the initiator's account. Single-user instances and instances without the Dynamic Credentials feature enabled are not exposed.

Background info

n8n is vulnerable to Authorization Bypass in versions 2.1.0 - 2.31.0.

How to fix this

Upgrade the n8n library to the patch version.