CVE-2026-118642: n8n: credential permission bypass via inline sub-workflows

HIGH
Published October 28, 2026
CISO Take

n8n before 1.123.85, 2.43.5 and 2.44.1 has an authorization bypass (CWE-863): an authenticated member who knows a credential ID can run an Execute Workflow node in inline JSON mode with a non-boolean 'disabled' value, skip the permission check, and have the decrypted credential sent to a server they control. CVSS is 7.1 (high) with a changed scope, because the stolen secrets (LLM API keys, cloud tokens, database passwords) unlock systems well beyond n8n. Urgency is moderate: exploitation needs a valid low-privilege account and prior knowledge of a credential ID (high attack complexity), there is no public exploit, no Nuclei template, and the CVE is not in CISA KEV. EPSS and SSVC data are not available yet. Upgrade to 1.123.85, 2.43.5 or 2.44.1 or later, then rotate credentials that members without access could have reached, and review execution logs for inline sub-workflows that use credential IDs.

Sources:NVDGitHub AdvisoryVulnCheckATLAS

What is the risk?

Medium-high. Impact is high on confidentiality (decrypted credentials exposed) and low on integrity, with a scope change into connected systems. Exploitation needs network access, a valid member account and a known credential ID, so the barrier is real but low in multi-user n8n instances where members are semi-trusted. There is no known exploitation in the wild, no public PoC and no KEV listing. The main exposure is in shared n8n deployments that hold many AI service credentials behind per-credential sharing controls.

How does the attack unfold?

Initial Access
Attacker uses a valid low-privilege member account on the n8n instance and learns a target credential ID.
AML.T0012
Exploitation
Attacker builds an Execute Workflow node in inline JSON mode with a non-boolean 'disabled' value, which skips the credential permission check.
AML.T0106
Credential Theft
n8n decrypts the inaccessible credential and the workflow sends it to an attacker-controlled server.
AML.T0083
Impact
Attacker reuses the stolen API keys or tokens to access LLM services, data stores and cloud resources.
AML.T0025

What systems are affected?

PackageEcosystemVulnerable RangePatched
n8nnpm—No patch
208.5KOpenSSF 7.116 dependentsPushed 7d ago44% patched~19d to patchFull package profile →

Do you use n8n? You're affected.

How severe is it?

CVSS 3.1
7.1 / 10
EPSS
0.2%
chance of exploitation in 30 days
Higher than 12% of all CVEs
Exploitation Status
No known exploitation
Sophistication
Moderate

What is the attack surface?

AVACPRUISCIA
AVNetwork
ACHigh
PRLow
UINone
SChanged
CHigh
ILow
ANone

What should I do?

1 step
  1. 1) Upgrade n8n to 1.123.85, 2.43.5, 2.44.1 or later. 2) Until patched, restrict member accounts to trusted users and remove unneeded member access, especially on instances with sensitive credentials. 3) Rotate credentials that were stored in affected instances, prioritizing LLM API keys, cloud and database secrets. 4) Review workflows and execution history for Execute Workflow nodes in inline JSON mode, 'disabled' fields with non-boolean values, and outbound HTTP calls to unfamiliar hosts. 5) Apply egress filtering on the n8n host to limit calls to unapproved destinations. 6) Monitor audit logs for credential use by users who are not credential owners or sharees.

How is it classified?

Which compliance frameworks are affected?

This CVE is relevant to:

EU AI Act
Art. 15-Accuracy, robustness and cybersecurity
ISO 42001
A.6.2.6-AI system operation and monitoring
NIST AI RMF
MANAGE 2.3-Respond to previously unknown risks and treat identified risks
OWASP LLM Top 10
LLM06-Excessive Agency

Frequently Asked Questions

What is CVE-2026-118642?

n8n before 1.123.85, 2.43.5 and 2.44.1 has an authorization bypass (CWE-863): an authenticated member who knows a credential ID can run an Execute Workflow node in inline JSON mode with a non-boolean 'disabled' value, skip the permission check, and have the decrypted credential sent to a server they control. CVSS is 7.1 (high) with a changed scope, because the stolen secrets (LLM API keys, cloud tokens, database passwords) unlock systems well beyond n8n. Urgency is moderate: exploitation needs a valid low-privilege account and prior knowledge of a credential ID (high attack complexity), there is no public exploit, no Nuclei template, and the CVE is not in CISA KEV. EPSS and SSVC data are not available yet. Upgrade to 1.123.85, 2.43.5 or 2.44.1 or later, then rotate credentials that members without access could have reached, and review execution logs for inline sub-workflows that use credential IDs.

Is CVE-2026-118642 actively exploited?

No confirmed active exploitation of CVE-2026-118642 has been reported, but organizations should still patch proactively.

How to fix CVE-2026-118642?

1) Upgrade n8n to 1.123.85, 2.43.5, 2.44.1 or later. 2) Until patched, restrict member accounts to trusted users and remove unneeded member access, especially on instances with sensitive credentials. 3) Rotate credentials that were stored in affected instances, prioritizing LLM API keys, cloud and database secrets. 4) Review workflows and execution history for Execute Workflow nodes in inline JSON mode, 'disabled' fields with non-boolean values, and outbound HTTP calls to unfamiliar hosts. 5) Apply egress filtering on the n8n host to limit calls to unapproved destinations. 6) Monitor audit logs for credential use by users who are not credential owners or sharees.

What systems are affected by CVE-2026-118642?

This vulnerability affects the following AI/ML architecture patterns: agent frameworks, workflow automation platforms, LLM orchestration pipelines, RAG pipelines, multi-tenant AI automation.

What is the CVSS score for CVE-2026-118642?

CVE-2026-118642 has a CVSS v3.1 base score of 7.1 (HIGH). The EPSS exploitation probability is 0.21%.

What is the AI security impact?

Affected AI Architectures

agent frameworksworkflow automation platformsLLM orchestration pipelinesRAG pipelinesmulti-tenant AI automation

MITRE ATLAS Techniques

AML.T0012Valid Accounts
AML.T0025Exfiltration via Cyber Means
AML.T0083Credentials from AI Agent Configuration
AML.T0098AI Agent Tool Credential Harvesting
AML.T0106Exploitation for Credential Access

Compliance Controls Affected

EU AI Act: Art. 15
ISO 42001: A.6.2.6
NIST AI RMF: MANAGE 2.3
OWASP LLM Top 10: LLM06

What are the technical details?

Original Advisory

n8n before 1.123.85, 2.43.5, and 2.44.1 contains an authorization bypass vulnerability that allows authenticated members to use inaccessible credentials through inline sub-workflow nodes with non-boolean disabled values. Attackers knowing a credential id can run Execute Workflow nodes in inline JSON mode that skip the permission check and send decrypted credentials to attacker-controlled servers.

Exploitation Scenario

An attacker holds a low-privilege member account on a company's shared n8n instance, or has compromised one, and learns the ID of an OpenAI or cloud credential used by another team's agent workflows (for example from URLs, exported workflows or error messages). They build a workflow with an Execute Workflow node in inline JSON mode, set the 'disabled' property to a non-boolean value so the permission check is skipped, and point the sub-workflow nodes at that credential ID with an HTTP request to a server they control. When the workflow runs, n8n decrypts the credential and sends it out. The attacker then uses the stolen key to access models, vector stores or cloud resources, or drives up LLM costs.

Weaknesses (CWE)

CWE-863 — Incorrect Authorization: The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

  • [Architecture and Design] Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
  • [Architecture and Design] Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor [REF-7].

Source: MITRE CWE corpus.

CVSS Vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N

Timeline

Published
October 28, 2026
Last Modified
October 28, 2026
First Seen
October 28, 2026

Related Vulnerabilities