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: Shared-Workflow Editor Can Exfiltrate Credentials via Inline Sub-Workflow JSON

0
High
Published: 07/22/2026 (07/22/2026, 22:11:22 UTC)
Source: GCVE Database
Product: n8n

Description

n8n contains a vulnerability where credential-access checks do not validate credentials referenced inside an Execute Sub-workflow node's inline JSON. This allows a user with editor access to a shared workflow to exfiltrate credentials they are not authorized to use by embedding them in the inline sub-workflow JSON. Exploitation requires workflow sharing enabled, editor access, and knowledge of the target credential ID. The issue is fixed in versions 1.123.67, 2.31.5, and 2.32.1. Temporary mitigations include restricting workflow sharing, auditing sub-workflows for credential references, and limiting network egress.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
Low
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L

Affected software

npmghsa
n8n
Affected versions
<1.123.67
npmghsa
n8n
Affected versions
>=2.32.0 <2.32.1
npmghsa
n8n
Affected versions
>=2.0.0-rc.0 <2.31.5

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:27:09 UTC

Technical Analysis

The vulnerability in n8n arises because credential-access validation only checks top-level credentials of a node but fails to validate credentials referenced inside an Execute Sub-workflow node's inline workflow JSON. An attacker with editor access to a shared workflow can embed a credential they are not authorized to use inside the inline JSON of a sub-workflow. This bypasses both save-time and runtime validation, allowing the attacker to use or exfiltrate the credential in the context of the parent workflow's project. Exploitation requires that workflow sharing is enabled, the attacker has editor access to the shared workflow, and the attacker knows the credential's ID. The vulnerability is addressed by patches in n8n versions 1.123.67, 2.31.5, and 2.32.1.

Potential Impact

An attacker with editor access to a shared workflow can access or exfiltrate credentials they are not authorized to use by embedding them in inline sub-workflow JSON. This compromises credential confidentiality and potentially allows unauthorized actions within the affected n8n instance. The vulnerability requires specific conditions: enabled workflow sharing, editor access, and knowledge of credential IDs. There are no known exploits in the wild at this time.

Mitigation Recommendations

A fix is available in n8n versions 1.123.67, 2.31.5, and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability. If immediate upgrade is not possible, administrators should restrict workflow sharing to trusted users, avoid granting editor access to untrusted members on workflows using sensitive credentials, audit shared workflows for Execute Sub-workflow nodes with inline JSON referencing credentials, and restrict network egress from the n8n instance to prevent data exfiltration. These workarounds do not fully mitigate 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-cj9h-qx8g-pq2g
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a6150cc9c2644c7f8da013a

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

Last enriched: 07/22/2026, 23:27:09 UTC

Last updated: 07/22/2026, 23:27:09 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