n8n workflow editor can access credentials they should not via sub-workflow

HighSE Fix-First Score 43/100CVE-2026-72763SE-AIV-01760Missing or broken access controlAI softwareMade public 23 Jul 2026

Download as PDF

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 Score43 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 30 days
High severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixPlatform or infrastructure team that runs n8n.
Likely effortAbout 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-01760

What 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.

Map where your company uses AI

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

SoftwareAffected versionsMove 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.52.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 attackedNo known attacks and no public attack code when CISA last reviewed it
Where the attacker must beAnywhere that can reach it over a network, including the internet if it is exposed
Account neededAn ordinary user account
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doEasy. It works reliably once the attacker can reach it
Risk of: data being readHigh
Risk of: data or settings being changedNone
Risk of: the service being taken downNone
Can attackers automate it at scaleNo, according to CISA. Each target needs manual work
How much control an attacker gainsTotal 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.name

Find 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, timestamp

Written 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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 n8n

Check 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.json

Require 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.

What is the core access control bypass in this vulnerability?A good answer: An editor on a shared workflow can embed a credential ID inside an Execute Sub-workflow node's inline JSON and use it, even though they don't have permission to access that credential directly.
What must be true for someone to exploit this vulnerability?A good answer: Workflow sharing must be enabled, the attacker must have Editor access to at least one shared workflow, and they must know the target credential's ID.
Which n8n versions need to be upgraded?A good answer: Versions before 1.123.67, versions 2.0.0-rc.0 through 2.31.4, and version 2.32.0; upgrade to 1.123.67, 2.31.5, 2.32.1 or later.
What should we look for in an audit to find out if this vulnerability was used against us?A good answer: Execution logs showing credential access by users who should not have had permission, or inline workflow JSON in shared Execute Sub-workflow nodes that reference credentials the editor was not authorized to use.

Run a full timed drill with your team

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.

Sign in to track this fix

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-72763

For 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.