Skip to main content

n8n EUVDEUVD-2026-44635

| CVE-2026-59259 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege n8n user
  2. Delivery
    Craft credential embedding external secret reference expressions
  3. Exploit
    Submit credential via create/update form bypassing static validation
  4. Execution
    Trigger or await workflow execution using tampered credential
  5. Persist
    Runtime engine resolves secret references
  6. Impact
    Retrieve exposed secret values from execution output

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires an authenticated n8n account (PR:L) with credential create or update permissions but without the externalSecret:list scope - a specific RBAC configuration that can only exist when Advanced Permissions are enabled, since that feature is what introduces fine-grained scope controls. Additionally, the instance must have an external secrets provider actively configured. Both conditions are non-default opt-in enterprise features; n8n instances running with default settings or without an external secrets backend are not affected. Exploitation is further bounded by the need to trigger actual workflow execution for the secret references to resolve, meaning the attacker must either own or share access to a workflow that uses the tampered credential. There is no unauthenticated attack path, and no exploitation is possible without the simultaneous presence of both Advanced Permissions and a configured secrets provider.

Impact

The CVSS 4.0 base score of 6.0 reflects a medium-severity finding, driven primarily by AT:P (Attack Requirements: Present) - meaning specific non-default infrastructure conditions must exist. The practical real-world risk is meaningfully lower than the VC:H confidentiality metric alone might suggest, because exploitation requires two simultaneously active enterprise features: a configured external secrets provider and Advanced Permissions. Both are opt-in configurations not present in default or trial deployments. The PR:L metric correctly identifies that a valid authenticated account is necessary, which further limits the attack surface to insider threats or compromised user accounts. EPSS data is not provided in the source intelligence; absent a KEV listing and with no identified POC, opportunistic internet-wide exploitation is unlikely. The genuine risk is concentrated in organizations that have adopted n8n as a production workflow automation platform with secrets management integrations - in those environments, the confidentiality exposure (VC:H) is real and could include API keys, database passwords, and OAuth tokens. No conflicting signals are present between the CVSS vector and the description; the AT:P accurately reflects the conditional deployment requirement.

Exploit ScenarioDerived

An authenticated n8n user holding credential create or update permissions - but explicitly denied the externalSecret:list scope by an administrator - crafts a credential payload embedding external secret references using an expression syntax form that the static permission check does not recognize. The credential is saved without triggering an authorization error. When any workflow that uses this credential executes, the runtime expression engine resolves the embedded references and surfaces the secret values, which the attacker can then retrieve from workflow execution outputs or logs, exfiltrating secrets they were never authorized to view.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

Permission bypass in n8n's external secrets handling allows authenticated low-privilege users to exfiltrate secrets they are not authorized to access by exploiting a mismatch between the platform's static validation layer and its runtime expression engine. Affected are all n8n instances running versions before 1.123.61 (1.x branch), 2.27.4, or 2.28.1 (2.x branch) that have both an external secrets provider and Advanced Permissions configured. No public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV, but the confidentiality impact is high for affected deployments given that secrets such as API keys and credentials may be fully exposed.

RemediationAI

The primary fix is to upgrade n8n to version 1.123.61 (for 1.x deployments), 2.27.4, or 2.28.1 (for 2.x deployments), as released by the vendor and documented in advisory GHSA-jp7m-xcgx-57qm at https://github.com/n8n-io/n8n/security/advisories/GHSA-jp7m-xcgx-57qm. If an immediate upgrade is not feasible, the most effective compensating control is to restrict credential create and update permissions to only fully trusted users who already hold the externalSecret:list scope, eliminating the privilege gap that this vulnerability exploits - note that this may reduce workflow authoring flexibility. Alternatively, disabling the external secrets provider integration entirely removes the attack surface but also removes secret injection functionality from all workflows. Defenders should audit existing credentials for unexpected external secret references that may indicate prior exploitation. Additional context from VulnCheck is available at https://www.vulncheck.com/advisories/n8n-permission-bypass-via-expression-parser-mismatch-in-external-secrets.

Affected VersionsENISA

n8n 0 <1.123.61
n8n 0 <2.28.1
n8n 0 <2.27.4

Affected Packages

npm n8n fix: 1.123.61, 2.27.4, 2.28.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is an open-source workflow automation platform that supports integration with external secrets providers (such as HashiCorp Vault or AWS Secrets Manager) to inject sensitive values into credentials and workflow nodes at execution time. The platform implements a role-based Advanced Permissions model, including an externalSecret:list scope that is intended to gate which users can reference or enumerate external secrets. The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key): the static validation logic that enforces the externalSecret:list scope check does not detect all syntactic forms by which external secret references can be embedded in credential payloads submitted through credential creation or update forms. However, the runtime expression engine - which resolves these references at workflow execution time - accepts and evaluates those same reference forms. This validation/enforcement gap means an attacker can craft a credential payload that passes the static gate but triggers privileged secret resolution at runtime. The CPE data (cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*) confirms all n8n editions across both the 1.x and 2.x release trains are in scope.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-exploitable with low-privilege auth; AC:L because once prerequisites exist the attack requires no special complexity; C:H for full secret disclosure; no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 15, 2026 - 13:03 EUVD

DescriptionCVE.org

n8n before versions 1.123.61, 2.27.4, and 2.28.1 contains a permission bypass vulnerability in external secrets handling caused by a mismatch between the static validation check and the runtime expression engine. An authenticated user with credential create or update permissions but without the externalSecret:list scope can embed external secret references into credentials in forms the static validation does not detect; these references resolve at workflow execution time, exposing secret values the user is not authorized to access. This issue only affects instances where an external secrets provider is configured and Advanced Permissions are in use.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
popular self-hosted workflow automation, significant but not universal enterprise adoption
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-27493 CRITICAL POC
9.0 Feb 25

Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger

CVE-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy