Incorrect Authorization Affecting n8n package, versions <2.31.5>=2.32.0 <2.32.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8N-18323531
  • published27 Jul 2026
  • disclosed22 Jul 2026
  • creditUnknown

Introduced: 22 Jul 2026

New CVE NOT AVAILABLE CWE-863  (opens in a new tab)

How to fix?

Upgrade n8n to version 2.31.5, 2.32.1 or higher.

Overview

n8n is a n8n Workflow Automation Tool

Affected versions of this package are vulnerable to Incorrect Authorization in the authentication when the embed login feature is enabled and at least one trusted key source is configured. An attacker can gain unauthorized access to any existing user account by presenting a validly-signed token with an unverified email claim from a trusted issuer.

Note: This is only exploitable if the embed login feature is enabled and at least one trusted key source is configured.

Workaround

This vulnerability can be mitigated by disabling the embed login feature by setting N8N_TOKEN_EXCHANGE_ENABLED=false, restricting network access to trusted parties only, and auditing all configured trusted keys and their allowedRoles assignments.

CVSS Base Scores

version 4.0
version 3.1