Description
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.
Published: 2026-07-15
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw lies in the way n8n evaluates node expressions, allowing an authenticated user with project editor rights to reference an external secret that is linked to the organization or a different project. Because the expression evaluation does not enforce secret scoping, the secret value is returned in plaintext in the workflow execution result. This information disclosure can reveal credentials, tokens, API keys, or any other confidential data that the external secret contains. The weakness is a classic case of improper authorization (CWE-639).

Affected Systems

Installed copies of the n8n workflow automation platform running any version earlier than 2.28.1 are vulnerable. The vulnerability exists in the core expression evaluator that processes node expressions in all workflow types, regardless of the workflow type or the type of node used.

Risk and Exploitability

A CVSS score of 6.3 indicates moderate severity, and the EPSS score of less than 1% shows a low likelihood that attackers will target this flaw. The vulnerability is not listed in the CISA KEV catalog. Successful exploitation requires an attacker to be authenticated as a project editor and to modify or read a workflow that references an external secret; no privilege escalation or remote code execution is involved, so the impact is confined to the disclosure of sensitive data that the project editor can actually read.

Generated by OpenCVE AI on July 31, 2026 at 04:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade n8n to version 2.28.1 or later to apply the vendor fix.
  • If an upgrade cannot be performed immediately, remove or restrict the use of external secret references in node expressions for project editors.
  • Audit all existing workflows for hidden or unintended secret references and remediate them promptly.
  • Regenerate or rotate any external secrets that may have been exposed to limit potential compromise.

Generated by OpenCVE AI on July 31, 2026 at 04:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-2434-3x6q-8r99 n8n: External Secrets Accessible via Workflow Expressions Outside Credentials
History

Wed, 15 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 12:00:00 +0000

Type Values Removed Values Added
Description 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.
Title n8n - External Secrets Disclosure via Workflow Node Expressions
First Time appeared N8n
N8n n8n
Weaknesses CWE-639
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 6.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-15T13:25:43.797Z

Reserved: 2026-07-04T12:17:14.301Z

Link: CVE-2026-59254

cve-icon Vulnrichment

Updated: 2026-07-15T13:20:06.805Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T04:15:04Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key