Authorization Bypass Through User-Controlled Key Affecting n8n package, versions <1.123.61>=2.0.0 <2.27.4>=2.28.0 <2.28.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (24th 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 Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8N-18017736
  • published19 Jul 2026
  • disclosed15 Jul 2026
  • creditEdward-x

Introduced: 15 Jul 2026

NewCVE-2026-59259  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade n8n to version 1.123.61, 2.27.4, 2.28.1 or higher.

Overview

n8n is a n8n Workflow Automation Tool

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via a mismatch between static validation and the runtime expression engine in external secrets handling. An attacker can access unauthorized secret values by embedding external secret references into credentials that bypass static validation, which are then resolved during workflow execution.

Note: This is only exploitable if an external secrets provider is configured and Advanced Permissions are enabled.

CVSS Base Scores

version 4.0
version 3.1