n8n is vulnerable to Authorization Bypass
59
Medium Risk
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.
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.
n8n is vulnerable to Authorization Bypass in versions 2.1.0 - 2.31.0.
Upgrade the n8n library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant