Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as project editor
-
DeliveryNavigate to workflow editor
-
ExploitEmbed external secret reference in node expression
-
ExecutionExecute workflow
-
ImpactRetrieve plaintext secret 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 session with at minimum the project editor role in the target n8n project. The n8n instance must have at least one external secret provider configured and populated with secrets - instances using only inline credentials or no secret manager integration are not directly exposed. The attacker must know or be able to guess the name of a secret stored in the external provider. Exploitation is limited by: (1) mandatory authentication with a project editor account, (2) requirement that external secrets are actively configured, and (3) the attacker needing to identify valid secret names to reference. There is no path to unauthenticated exploitation and no scope for arbitrary file access or code execution - impact is strictly confidentiality of external secrets. |
| Impact | The CVSS 4.0 score of 6.3 with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N accurately characterizes the threat profile: network-reachable, low-complexity, low-privilege attack with no direct system impact but high confidentiality impact on subsequent systems (the external secret stores). The PR:L metric confirms this is not an unauthenticated attack - a valid project editor account is required, which meaningfully constrains the attacker pool to insiders, compromised user accounts, or multi-tenant n8n deployments where project editor roles are broadly distributed. The SC:H rating is the most critical signal: secrets exfiltrated could include API keys, database credentials, or cloud provider keys used across connected systems, amplifying downstream risk well beyond n8n itself. No KEV listing and no identified POC keep real-world urgency in check, but the low attack complexity and absence of user interaction mean that any project editor who discovers this behavior can exploit it trivially. Organizations running n8n with external secret integrations and multiple project editors should treat this as a medium-high priority. |
| Exploit ScenarioDerived | A project editor on a self-hosted n8n instance crafts a workflow node whose expression field references an external secret by name - using the same syntax normally reserved for credentials - and then executes the workflow. n8n resolves the expression, returning the plaintext secret value in the node output, which the editor can read from the execution log. No special tooling is required beyond a standard authenticated n8n session with project editor access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
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.
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.
Affected VersionsENISA
Affected Packages
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, 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:*:*:*:*:*:*:*:*.
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
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
Network-reachable, low complexity, authenticated (PR:L project editor), scope change to external secret systems, high confidentiality impact, no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
EUVD-2026-44634
GHSA-3j7v-fhjg-6rh2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB