Incorrect Authorization Affecting n8n package, versions <2.6.4>=2.7.0 <2.7.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd percentile)

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-15834793
  • published31 Mar 2026
  • disclosed25 Mar 2026
  • creditsubhan umer

Introduced: 25 Mar 2026

NewCVE-2026-33720  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade n8n to version 2.6.4, 2.7.3 or higher.

Overview

n8n is a n8n Workflow Automation Tool

Affected versions of this package are vulnerable to Incorrect Authorization in the OAuth callback when the N8N_SKIP_AUTH_ON_OAUTH_CALLBACK environment variable is set to true. An attacker can gain unauthorized access to OAuth tokens by tricking a victim into completing an OAuth flow against a credential object controlled by the attacker, allowing the attacker to execute workflows as the victim.

Workaround

This vulnerability can be mitigated by avoiding enabling N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true unless strictly required and restricting access to fully trusted users only.

CVSS Base Scores

version 4.0
version 3.1