Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege n8n user
-
DeliveryCraft credential embedding external secret reference expressions
-
ExploitSubmit credential via create/update form bypassing static validation
-
ExecutionTrigger or await workflow execution using tampered credential
-
PersistRuntime engine resolves secret references
-
ImpactRetrieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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
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.
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-44635
GHSA-q6mx-qvhp-fqmg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB