Skip to main content

n8n CVE-2026-59254

| EUVDEUVD-2026-44634 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
6.3
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.7 HIGH

Network-reachable, low complexity, authenticated (PR:L project editor), scope change to external secret systems, high confidentiality impact, no integrity or availability impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

2
Patch available
Jul 15, 2026 - 13:03 EUVD
Analysis Generated
Jul 15, 2026 - 12:37 vuln.today

DescriptionCVE.org

n8n before 2.28.1 contains an information disclosure vulnerability where external secrets are incorrectly resolved in workflow node expressions outside credentials scope. Authenticated project editors can read plaintext external secret values by referencing them in node expressions without requiring explicit secrets access permissions.

AnalysisAI

Unauthorized external secret disclosure in n8n before 2.28.1 allows authenticated project editors to read plaintext secret values from external secret managers by embedding references in workflow node expressions. The flaw bypasses the intended access control model: users with project editor roles - who are not granted explicit secrets access permissions - can nonetheless resolve and exfiltrate secrets via expression syntax. No public exploit or active exploitation has been identified, but the CVSS 4.0 vector assigns SC:H (high confidentiality impact on subsequent systems), reflecting that secrets stored in downstream vaults or secret managers are fully exposed to insufficiently privileged users.

Technical ContextAI

n8n is an open-source, self-hostable workflow automation platform that integrates with external secret managers (such as HashiCorp Vault, AWS Secrets Manager, or similar providers) to inject secrets into workflow credentials. The affected code path incorrectly resolves these external secret references when they appear in general workflow node expressions - a context outside the credentials scope where secret resolution is intentionally guarded. CWE-639 (Authorization Bypass Through User-Controlled Key) captures the root cause: a project editor can craft a user-controlled expression key that references an external secret name, and the platform resolves and returns the plaintext value without verifying that the caller holds the appropriate secrets access permission. CPE confirms all versions of n8n prior to 2.28.1 are affected: cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*.

RemediationAI

Upgrade n8n to version 2.28.1 or later, which resolves the secret resolution scope enforcement issue per the vendor's security advisory GHSA-2434-3x6q-8r99 (https://github.com/n8n-io/n8n/security/advisories/GHSA-2434-3x6q-8r99). If immediate upgrade is not feasible, restrict the project editor role to trusted users only, as the vulnerability requires that role to exploit - removing unnecessary project editor assignments reduces the attacker population to zero in environments with strict role hygiene. A secondary workaround is to temporarily disable external secrets integrations until patching is complete, though this will break any workflows that rely on secret injection and represents a significant operational trade-off. Monitoring workflow expression content for patterns matching secret reference syntax could serve as a detective control. The VulnCheck advisory at https://www.vulncheck.com/advisories/n8n-external-secrets-disclosure-via-workflow-node-expressions provides additional context.

More in N8n

View all
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-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-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

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

CVE-2023-27564 HIGH POC
7.5 May 10

The n8n package 0.218.0 for Node.js allows Information Disclosure. Rated high severity (CVSS 7.5), this vulnerability is

CVE-2023-27562 MEDIUM POC
6.5 May 10

The n8n package 0.218.0 for Node.js allows Directory Traversal. Rated medium severity (CVSS 6.5), this vulnerability is

CVE-2026-33724 MEDIUM POC
6.3 Mar 25

n8n versions prior to 2.5.0 contain a critical SSH host key verification bypass in the Source Control feature that allow

CVE-2026-33720 MEDIUM POC
6.3 Mar 25

This vulnerability in n8n (an open-source workflow automation platform) is an authentication bypass in the OAuth callbac

CVE-2026-27495 CRITICAL
9.9 Feb 25

Code injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22 allows authenticated users to execute arbitrary c

Share

CVE-2026-59254 vulnerability details – vuln.today

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