n8n workflow editor can access credentials they should not via sub-workflow
What this means
An editor on a shared workflow can steal credentials they don't have permission to use. They can read data from systems those credentials protect, send data to attacker-controlled servers, or use the credentials to impersonate the company. This breaks the access control that keeps sensitive credentials safe.
SecurityElites Manager Brief: the decision in one minute
Workflow editors with sharing enabled can bypass credential access rules by embedding forbidden credentials inside sub-workflows. This means anyone you give edit access to a workflow could steal any credential in your n8n instance. You need to upgrade n8n immediately.
| SecurityElites Fix-First Score | 43 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 30 days High severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or infrastructure team that runs n8n. |
| Likely effort | About 30 minutes: backup the database, upgrade n8n to a fixed version, and restart. Reviewing shared workflows for the attack pattern takes longer and depends on how many you have. |
Questions to ask your team or supplier
- Do we know which workflows are shared and who has Editor access to them? Can we provide a list to the security team by end of day?
- Have we checked whether any Execute Sub-workflow nodes use inline workflow JSON with credential references? If so, who created them and when?
- After we upgrade, how will we audit logs to confirm that no one exploited this vulnerability before the fix was in place?
Message you can forward to the owning team
Security notice: n8n workflow editor can access credentials they should not via sub-workflow (CVE-2026-72763)
Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to n8n 2.32.1 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-72763-n8n-workflow-editor-can-access-credentials-they-should-not/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01760What is at stake in your AI setup
- Credentials for external AI services (API keys, tokens): an attacker can use them to call the services as your company, draining your budget and poisoning responses.
- Tools and systems an AI agent can connect to: an attacker can redirect the agent to malicious endpoints or use it to access databases and APIs you control.
- Prompts and chat history: an attacker can read and modify them if they are stored as credentials in n8n.
- Training or retrieval data: if workflows pull data for model training or retrieval-augmented generation, stolen credentials could expose that data.
Who is exposed
- n8n instances with workflow sharing enabled.
- Teams using Execute Sub-workflow nodes with inline workflow JSON.
- Any credential in n8n if an editor with malicious intent has access to any shared workflow.
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| n8n npm | Every version before 1.123.67; 2.32.0 up to, but not including, 2.32.1; 2.0.0-rc.0 up to, but not including, 2.31.5 | 2.32.1 or later |
Each maintained branch has its own fixed version. Stay on your branch if you cannot jump to the newest: n8n 1.123.67, 2.31.5, 2.32.1.
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Is it being attacked | No known attacks and no public attack code when CISA last reviewed it |
|---|---|
| Where the attacker must be | Anywhere that can reach it over a network, including the internet if it is exposed |
| Account needed | An ordinary user account |
| Does a person have to do something | No. It works without anyone clicking or opening anything |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | High |
| Risk of: data or settings being changed | None |
| Risk of: the service being taken down | None |
| Can attackers automate it at scale | No, according to CISA. Each target needs manual work |
| How much control an attacker gains | Total control of the affected software, according to CISA |
Read from the official severity rating: 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
Kind of coding mistake
- CWE-863: a permission check is wrong
If you cannot upgrade today
- Restrict workflow sharing to fully trusted users only; do not grant Editor access to workflows with sensitive credentials unless absolutely necessary.
- Disable workflow sharing if you can; this blocks the attack vector entirely.
- Audit all Execute Sub-workflow nodes that use inline workflow JSON (Source = Parameter) and remove any credential references before the upgrade.
Signs it may already have been used against you
- Execution logs: look for jobs that accessed credentials the executor did not have permission to view.
- Audit logs: search for modifications to Execute Sub-workflow nodes by users who do not normally edit workflow definitions.
- Shared workflows: check for inline workflow JSON that references credential IDs the editor should not access.
- Data egress: network traffic to unknown external hosts from your n8n instance during workflow execution may indicate credential theft.
Log searches to start from
Find Execute Sub-workflow nodes created or modified by editors on shared workflows; adapt field names to your logsElastic
source:n8n AND event.action:workflow_modified AND node.type:"Execute Sub-workflow" AND workflow.shared:true | stats count by user, workflow.nameFind unusual credential access from non-owner accounts; adapt field names to your logsSplunk
source=n8n event=credential_accessed actor!=credential_owner workflow.shared=true | table actor, credential.id, workflow.name, timestampWritten with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.
SecurityElites Fix Guide: step by step
- Find where n8n is installed and what version runsLog in to your n8n instance as an administrator. Go to Settings > About or check the footer for the version number. Write it down. Also note whether the instance is self-hosted or cloud-managed.
- Check if workflow sharing is turned onIn n8n settings, look for Sharing or Collaboration settings. Note whether workflow sharing is enabled. If it is, you are exposed to this vulnerability.
- List editors on shared workflowsOpen each shared workflow. Record who has Editor access. These are the users who could exploit this vulnerability. Focus on shared workflows that use sensitive credentials.
- Back up the n8n databaseExport or snapshot the database that n8n uses (SQLite, PostgreSQL, MySQL, or the cloud service's backup). This protects your workflows and execution history if the upgrade fails.
- Upgrade n8n to a fixed versionIf you run n8n version 1.x: upgrade to 1.123.67 or later. If you run 2.0.0-rc.0 through 2.31.4: upgrade to 2.31.5 or later. If you run 2.32.0: upgrade to 2.32.1 or later. Follow n8n's official upgrade guide for your deployment type.
- Restart n8n and verify the new version runsAfter the upgrade finishes, restart the n8n service or container. Log back in and confirm the version number in Settings > About matches the fixed version you installed.
- Audit sub-workflows for unauthorized credential accessOpen each shared workflow with an Execute Sub-workflow node. If its Source is set to Parameter, open the inline workflow JSON and search for credential references (look for 'credentials' fields). If you find credentials that the editors should not access, delete them and investigate why they were there.
- Review access logs for suspicious activityCheck n8n's execution logs and audit logs for unusual credential usage or data exports from before the upgrade. Look for executions that accessed credentials the user should not have been able to use, or large data transfers to unknown destinations.
How to confirm it is fixed: Log into n8n as an administrator and confirm in Settings > About that the version is at least 1.123.67 (for 1.x), 2.31.5 (for 2.0 to 2.31), or 2.32.1 (for 2.32+).
SecurityElites Quick Fixes: copy and paste
Upgrade n8n with npmupgrade
npm install n8n@2.32.1
npm ls n8nCheck n8n version via command line (Docker or Node.js install)for this issue
# For Docker: check the image tag or running container
docker ps | grep n8n
# For Node.js install: check package.json
grep '"version"' package.jsonRequire sign-in with nginx in front of the servicegeneral hardening
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://127.0.0.1:8080;
}Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
Let your AI coding assistant do the upgrade
Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.
Instruction for your coding assistant
You are helping me fix a security vulnerability (CVE-2026-72763) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n - n8n (npm): must be 2.32.1 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## n8n workflow editor can access credentials they should not via sub-workflow (CVE-2026-72763)
**Severity:** High | **SE Fix-First Score:** 43/100 | **Fix window:** Within 30 days
**Record:** SE-AIV-01760 https://securityelites.com/ai-vulnerabilities/cve-2026-72763-n8n-workflow-editor-can-access-credentials-they-should-not/
### Why this matters
An editor on a shared workflow can steal credentials they don't have permission to use. They can read data from systems those credentials protect, send data to attacker-controlled servers, or use the credentials to impersonate the company. This breaks the access control that keeps sensitive credentials safe.
### What to do
1. Find where n8n is installed and what version runs
2. Check if workflow sharing is turned on
3. List editors on shared workflows
4. Back up the n8n database
5. Upgrade n8n to a fixed version
6. Restart n8n and verify the new version runs
7. Audit sub-workflows for unauthorized credential access
8. Review access logs for suspicious activity
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-72763-n8n-workflow-editor-can-access-credentials-they-should-not/
### Done when
- [ ] n8n is at 2.32.1 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Log into n8n as an administrator and confirm in Settings > About that the version is at least 1.123.67 (for 1.x), 2.31.5 (for 2.0 to 2.31), or 2.32.1 (for 2.32+).
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Related vulnerabilities
In the same software
- n8n legacy expression engine allows code execution via JSON.stringify override High · CVE-2026-86083
- n8n OpenAI node bypasses domain restrictions on model search High · CVE-2026-86082
- n8n Git node can freeze the instance with a crafted path High · CVE-2026-86081
- n8n OAuth registration accepts unlimited field sizes, filling the database High · CVE-2026-86075
- n8n expression compiler can run arbitrary code through class field names High · CVE-2026-86076
- n8n Edit Fields node can crash the whole instance with a bad field name High · CVE-2026-72749
The same kind of mistake in other AI tools
- BaaRai ARTEX admin account can be claimed without authentication on first run Critical · CVE-2026-140422
- BaaRai ARTEX admin login can be guessed without limits or lockouts Critical · CVE-2026-140365
- NLTK dependency parser crashes on long sentences High · CVE-2026-129222
- NLTK regex compilation denial of service via many groups High · CVE-2026-129229
- Model Context Protocol SDK tasks can be read by other clients sharing the store High · CVE-2026-111767
Change history
- 22 Jul 2026: Made public
- 2 Dec 2026: Published
Official record
## Impactn8n's credential-access checks validated only a node's top-level credentials, not credentials referenced inside an Execute Sub-workflow node's inline workflow JSON. A member with editor access to a shared workflow could reference a credential they were not permitted to use inside that inline JSON; it passed both save-time and runtime validation and resolved in the parent workflow's project context, letting the member use or exfiltrate a credential they could not otherwise access.Exploitation requires workflow sharing to be enabled and the attacker to have been explicitly granted Editor access to a shared workflow. The attacker must also know the target credential's ID.## PatchesThe issue has been fixed 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.## WorkaroundsIf 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 members on workflows that use sensitive credentials. - Audit shared workflows for Execute Sub-workflow nodes with Source = "Parameter" and review their inline workflow definitions for unexpected credential references. - Restrict network egress from the n8n instance to prevent connections to attacker-controlled endpoints.These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Weakness type: CWE-863
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-72763For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 2 Dec 2026. Read the vendor advisory before changing a production system.