Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

n8n: External Secrets Accessible via Workflow Expressions Outside Credentials (CVE-2026-59254)

0
Medium
Published: 07/22/2026 (07/22/2026, 22:23:29 UTC)
Source: GCVE Database
Product: n8n

Description

A vulnerability in n8n allows authenticated users with project editor access to read plaintext external secrets via workflow node expressions, bypassing intended access controls. This affects instances with the external secrets feature enabled. The issue is fixed in versions 2.27.4 and 2.28.1. Temporary mitigations include restricting project membership to trusted users and avoiding granting editor access where external secrets are configured.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

npmghsa
n8n
Affected versions
>=2.28.0 <2.28.1
npmghsa
n8n
Affected versions
<2.27.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 23:25:49 UTC

Technical Analysis

The vulnerability (CVE-2026-59254) in n8n arises from external secrets being incorrectly resolved in workflow node expressions outside of credential contexts. An authenticated user with project editor privileges can access plaintext external secrets by referencing them in node expressions without explicit secrets access permissions. This flaw affects only instances where the external secrets feature is configured. The issue has been addressed in n8n versions 2.27.4 and 2.28.1.

Potential Impact

An authenticated user with project editor access can read sensitive external secrets in plaintext, potentially exposing confidential information that should be restricted. This bypasses the intended access control mechanisms for secrets, increasing the risk of unauthorized data disclosure within affected n8n instances.

Mitigation Recommendations

A fix is available in n8n versions 2.27.4 and 2.28.1; users should upgrade to these versions or later to remediate the vulnerability. If immediate upgrade is not possible, administrators should restrict project membership to fully trusted users and avoid granting editor access on instances with external secrets configured. These workarounds do not fully eliminate the risk and should be considered temporary.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-2434-3x6q-8r99
Osv Schema Version
1.4.0
Aliases
["CVE-2026-59254"]
Ecosystems
["npm"]
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a6150c99c2644c7f8d9ff29

Added to database: 07/22/2026, 23:22:49 UTC

Last enriched: 07/22/2026, 23:25:49 UTC

Last updated: 07/23/2026, 02:51:54 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses