CVE-2026-59254
NoneCVSS
—
EPSS
0.4%
Published
Jul 15, 2026
CISA due date
—
Cloudanix analysis
A permission issue lets certain users read secret values they should not have access to, which could let attackers steal credentials stored in the system.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authenticated project editors can resolve and retrieve plaintext values of external secrets by referencing them in workflow node expressions even when the expression is outside any credentials scope.
Why it matters to the business
Organizations may suffer unauthorized exposure of stored secrets such as API keys or database credentials, increasing risk of data breaches or downstream system compromise.
How an attack unfolds
An attacker with project-editor privileges creates or edits a workflow, inserts an expression that references an external secret outside the credentials context, executes the node, and observes the resolved secret value in the node output or logs.
How to fix it
Upgrade n8n to version 2.28.1 or later; review and restrict project-editor permissions; audit existing workflows for expression-based secret references.
How to confirm the fix worked
Confirm the installed version is 2.28.1 or newer; attempt to reference an external secret from a non-credential expression as a project editor and verify the value is no longer disclosed.
Typical attack path
- Obtain or compromise an account with project-editor permissions
- Open or create a workflow in the affected project
- Add a node that supports expressions and craft a reference to an external secret
- Execute the workflow or node to trigger secret resolution
- Capture the plaintext secret from node result, logs, or exported data
How to detect it
Review workflow execution logs and node output history for expressions that resolve external secrets; monitor for unexpected access to secret stores from non-credential contexts.
What your security team should do
- Immediately upgrade all n8n instances to 2.28.1 or later
- Limit project-editor role to trusted users only
- Scan existing workflows for expressions that reference external secrets outside credentials
- Rotate any secrets that may have been exposed prior to the upgrade
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-63401 Coop is an open source review and moderation tool from ROOST. CWE-639
- CVE-2026-63338 IXP Manager is a full-stack web application for managing Internet Exchange Points. CWE-639
- CVE-2026-62277 LubeLogger is a self-hosted, open-source, web-based vehicle maintenance and fuel mileage… CWE-639
- CVE-2026-62991 Shopper is a Headless e-commerce Admin Panel. CWE-639
- CVE-2026-119329 Immich is a high-performance self-hosted photo and video management solution. CWE-639
- CVE-2026-116239 In server mode pgAdmin 4 keeps an account per authentication source, so the same username… CWE-639
- CVE-2026-120007 NodeBB 1.18.0 through 4.16.5 contains an authorization bypass vulnerability that allows… CWE-639
- CVE-2026-107868 Unauthenticated Bypass Vulnerability in YITH WooCommerce Product Add-Ons <= 4.34.0… CWE-639