GHSA-2434-3x6q-8r99: n8n: External Secrets Accessible via Workflow Expressions Outside Credentials
Summary
A security flaw in n8n allowed authenticated users with editor access to read external secrets (sensitive configuration values stored outside the main system) through workflow node expressions (code blocks in automation workflows), even though they shouldn't have had permission to do so. This only affected n8n instances that had the external secrets feature enabled.
Solution / Mitigation
The issue has been fixed in n8n versions 2.27.4 and 2.28.1. Users should upgrade to one of these versions or later to remediate the vulnerability. If upgrading is not immediately possible, administrators should restrict project membership to fully trusted users only and avoid granting editor access to projects on instances where external secrets are configured, though these workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Vulnerability Details
EPSS: 0.3%
Yes
July 22, 2026
Classification
Affected Vendors
Affected Packages
Related Issues
Original source: https://github.com/advisories/GHSA-2434-3x6q-8r99
First tracked: July 22, 2026 at 08:01 PM
Classified by LLM (prompt v3) · confidence: 75%