Servers and applications
GHSA-4r56-g65c-fm83
Shared-Workflow Editor Can Exfiltrate Credentials via Workflow Tool Node Inline Sub-Workflow
- Severity
- High 7.2
- Published
- 19 Aug 2026
- Last changed
- 19 Aug 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 2.35.4, 2.36.2
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read data
- CVSS vector
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- Sources
- Project advisories (GitHub)
Description
n8n's credential check did not inspect the inline workflow JSON of every node type that executes an inline sub-workflow, so a reference to a credential the acting user does not hold was accepted and persisted, on both the workflow-update and workflow-creation paths. An editor on a shared workflow, or any user creating a workflow through the REST API, Public API, or MCP, could plant such a node; when the workflow was later executed under an identity that does hold the credential, the inline sub-workflow resolved the secret and could send it to an attacker-controlled endpoint. The credential was never shared with the attacker.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict workflow sharing to fully trusted users only, and avoid granting Editor access to untrusted users on shared workflows.
- Restrict n8n instance access to fully trusted users only.
- Audit shared workflows for unexpected Workflow Tool nodes with inline sub-workflows referencing credentials not owned by the editor, and rotate any credentials that may have been exposed.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Affected software
| Software | Affected versions |
|---|---|
n8nServers and applications · github:n8n-io/n8n |
|
About n8n
low-code automation tool
- Weekly downloads (npm)
- 103,525npm, 15 Nov 2026
- Docker Hub pulls
- 286,090,810Docker Hub, 15 Nov 2026
- GitHub stars
- 210,541GitHub, 15 Nov 2026
- Forks
- 61,525GitHub, 15 Nov 2026
- Latest release
- [email protected]GitHub, 15 Nov 2026
- Released
- 13 Nov 2026GitHub
- Written in
- TypeScript, Node.jsWikidata
- First released
- 2019Wikidata
- First published on GitHub
- 22 Jun 2019GitHub
Website Source code Docker image Package
Vulnerabilities in n8n
- In our list
- 310
- Published in the last 12 months
- 298
- Critical, last 12 months
- 24
- High, last 12 months
- 133
- Known exploited
- 1
- GHSA-h59h-rf6m-7jp5Workflow Activation Allows Trigger Nodes to Use Credentials the Publisher Cannot AccessMedium 5.3 13 Nov 2026
- GHSA-g333-hr44-g82pAWS Bedrock Nodes Skip SSRF Protection for Custom Runtime EndpointsMedium 5.3 13 Nov 2026
- GHSA-c772-hjfp-gfc2Integration Nodes Send Authenticated Requests to Unintended API EndpointsMedium 5.3 13 Nov 2026
- GHSA-q8rc-7m84-mfvjCustom Instance Role with User Management Permissions Gives Control of the Owner AccountHigh 7.5 13 Nov 2026
- CVE-2026-130167Custom Instance Role with User Management Permissions Gives Control of the Owner AccountHigh 7.5 13 Nov 2026
- CVE-2026-126381n8n before 2.44.1 SQL Injection via Vector Store (OracleDB) Metadata Filter KeyMedium 4.9 13 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-4r56-g65c-fm83
- github.com https://github.com/n8n-io/n8n/security/advisories/GHSA-4r56-g65c-fm83