Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as member with use-only shared credential
-
DeliveryCreate workflow with AI Agent and MCP tool
-
ExploitPoint MCP tool at attacker-controlled URL
-
ExecutionRun workflow, bypassing domain allowlist
-
PersistCredential secret exfiltrated to external server
-
ImpactReuse 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
EUVD-2026-42609
GHSA-h44j-f5r5-ph73
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB