Skip to main content

n8n CVE-2026-59207

| EUVDEUVD-2026-42609 HIGH
Protection Mechanism Failure (CWE-693)
2026-07-09 GitHub_M GHSA-h44j-f5r5-ph73
7.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as member with use-only shared credential
  2. Delivery
    Create workflow with AI Agent and MCP tool
  3. Exploit
    Point MCP tool at attacker-controlled URL
  4. Execution
    Run workflow, bypassing domain allowlist
  5. Persist
    Credential secret exfiltrated to external server
  6. Impact
    Reuse stolen key for lateral access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
Exploitation Conditions

Exploitation requires an authenticated member-level account (PR:L) that has been granted use-only access to a shared credential which has an 'Allowed HTTP Request Domains' restriction configured, plus a deployment where the AI Agents feature and MCP tools are enabled and the member can create/edit a workflow that aims an MCP tool at an attacker-chosen URL. Limiting factors: this is not exploitable against a default install with no shared credentials or no AI Agent/MCP usage, and it needs a valid internal account, so it is an authenticated privilege-boundary bypass (use-only user escalating to secret disclosure) rather than remote unauthenticated exploitation; there is no user-interaction requirement from a victim, and the attacker must already be inside the tenant.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N, VC:H, SC:H) scoring 7.1 High is internally consistent with the description: network-reachable, low attacker privilege (a member account), no user interaction, but with an Attack Requirement (AT:P) reflecting that a shared credential configured with a domain allowlist must actually exist. The dominant impact is confidentiality - the high value is the leaked secret (VC:H and subsequent-system SC:H), while integrity/availability are minimal. There is no CISA KEV listing and no POC referenced, so there is no public exploit identified at time of analysis; EPSS was not supplied. This is a genuine insider/privilege-boundary risk rather than a mass-exploitation internet threat: it requires an existing authenticated foothold and a specific sharing configuration, which lowers real-world urgency compared to an unauthenticated RCE, but the payoff (theft of a secret the user was explicitly not permitted to read, e.g. an API key or OAuth token) can be severe and enable lateral movement into whatever service that credential unlocks.

Exploit ScenarioDerived

A member-level user who has been granted use-only access to a shared API credential builds or edits a workflow with an AI Agent node, attaches an MCP tool, and points it at a URL on a server they control. Because the 'Allowed HTTP Request Domains' restriction is not enforced on that path, executing the workflow sends the credential's secret to their external endpoint, handing them a key they were never authorized to read. No public POC is referenced, and the attack requires only an existing member account plus the shared-credential configuration (CVSS AC:L, PR:L, UI:N).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 09, 2026

Credential secret exfiltration in n8n (self-hosted workflow automation) prior to 2.27.4 and 2.28.1 lets a low-privilege member with use-only access to a shared credential leak that secret to an attacker-controlled server. The AI Agents feature fails to enforce the 'Allowed HTTP Request Domains' restriction when an MCP tool is aimed at an arbitrary URL, so the guardrail meant to keep secrets in-bounds is bypassed. No public exploit identified at time of analysis; risk is elevated because the abuse comes from an already-authorized internal user rather than an outside attacker.

RemediationAI

Vendor-released patch: upgrade to n8n 2.27.4 (https://github.com/n8n-io/n8n/releases/tag/n8n%402.27.4) or 2.28.1 (https://github.com/n8n-io/n8n/releases/tag/n8n%402.28.1), depending on your release train, as documented in advisory GHSA-h44j-f5r5-ph73. If you cannot patch immediately, reduce exposure by revoking use-only shares of sensitive credentials to member-level users and limiting credential sharing to trusted operators; disable or restrict the AI Agent / MCP tool nodes so members cannot point them at arbitrary URLs; and place egress filtering in front of the n8n host so outbound HTTP from workflow execution can only reach approved domains, which enforces the intended allowlist at the network layer. Trade-offs: tightening credential sharing and disabling MCP tooling will break legitimate automations that depend on them, and network egress filtering adds operational overhead and can silently break integrations, so validate against known-good workflows before enforcing.

Affected VersionsENISA

n8n 2.28.0, < 2.28.1
n8n < 2.27.4

Affected Packages

npm n8n fix: 2.27.4, 2.28.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is a Node.js-based, fair-code workflow automation platform where users build workflows from nodes, including AI Agent nodes that can invoke external tools via the Model Context Protocol (MCP). Credentials in n8n support an 'Allowed HTTP Request Domains' allowlist intended to bind a credential's secret to a fixed set of destinations, and n8n's sharing model distinguishes 'use-only' access (a member can execute a workflow with a credential but cannot read its plaintext secret) from full access. The flaw maps to CWE-693 (Protection Mechanism Failure): the domain-allowlist control that should gate outbound requests is not applied along the MCP-tool code path, so an AI Agent can be pointed at an arbitrary URL and carry the credential secret to it, defeating the very isolation that use-only sharing is supposed to guarantee.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N
vuln.today AI 7.1 HIGH

Authenticated member (PR:L) over the network; AC:H and S:C because a specific shared-credential/allowlist config is needed and the leaked secret crosses the authorization boundary; impact is chiefly confidentiality (C:H).

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 09, 2026 - 17:01 EUVD

DescriptionCVE.org

n8n is an open source workflow automation platform. Prior to 2.27.4 and 2.28.1, the AI Agents feature did not enforce the Allowed HTTP Request Domains restriction configured on credentials when an MCP tool was pointed at an arbitrary URL, allowing a member-level user with use-only access to a shared credential to send its secret to an external server they control. This issue is fixed in versions 2.27.4 and 2.28.1.

Executive ViewAI

Why It Matters

n8n self-hosted workflow automation (versions prior to 2.27.4 and 2.28.1) allows authenticated low-privilege users to extract and exfiltrate shared workflow credentials to external servers, potentially compromising connected systems and APIs. No public exploit identified at time of analysis, but insider threat risk is material.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to n8n 2.27.4 or 2.28.1. Interim mitigations if upgrade is delayed: restrict AI Agents feature access to administrators only, disable shared credential workflows where feasible, implement network segmentation to limit outbound HTTPS destinations from n8n instances, and enforce mandatory credential rotation on a shorter cycle.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
popular self-hosted workflow automation tool, common but not ubiquitous in enterprises
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy