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


Severity

Recommended
0.0
medium
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-18322878
  • 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 process that handles credential domain restrictions when user-supplied base or endpoint URLs are set. An attacker can exfiltrate credential secrets by configuring affected nodes to send secrets to an attacker-controlled host.

Note: This is only exploitable if a credential has domain restrictions configured and is shared with non-owner users.

Workaround

This vulnerability can be mitigated by restricting workflow creation and editing permissions to fully trusted users only, restricting credential sharing to fully trusted users only, and auditing credentials with domain restrictions for unexpected sharing relationships.

CVSS Base Scores

version 4.0
version 3.1