CVE-2026-59207
mediumpriority · track · 26EPSS 0.004 · 39 %ileDEEUNLUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4–7.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (13)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- NCSC-2026-0228Kwetsbaarheden verholpen in n8n workflow automation platformNL2026-07-13csaf · ncsc_nlNL
n8n heeft meerdere kwetsbaarheden verholpen in het n8n workflow automation platform.
- WID-SEC-W-2026-2067n8n: Mehrere SchwachstellenDeutsch2026-06-24csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in n8n ausnutzen, um SQL-Injection durchzuführen, Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen, Daten zu manipulieren oder einen Denial-of-Service-Zustand zu verursachen.
- GHSA-h44j-f5r5-ph73n8n: "Allowed HTTP Request Domains" Restriction Bypass via AI Agents MCP Connector2026-07-22ghsa · osvUS
## Impact The AI Agents feature did not enforce the "Allowed HTTP Request Domains" restriction configured on credentials. As a result, a member-level user who had been granted use-only access to a shared credential could cause its secret to be sent to an external server they control, by pointing an MCP tool at an arbitrary URL and running the agent. This issue only affects instances where the AI Agents module is enabled via `N8N_ENABLED_MODULES=agents` and at least one credential with domain restrictions has been shared with a member-level user. ## Patches The issue has been fixed in n8n version 2.28.1 and 2.27.4. Users should upgrade to this version or later to remediate the vulnerability. ## Workarounds If upgrading is not immediately possible, administrators should consider the following temporary mitigations: - Disable the AI Agents module by removing `agents` from the `N8N_ENABLED_MODULES` environment variable. - Restrict credential sharing to fully trusted users only. - Audit credentials with domain restrictions for unexpected sharing relationships. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://github.com/n8n-io/n8n/releases/tag/n8n%402.27.4cnnvd
- https://github.com/n8n-io/n8n/releases/tag/n8n%402.28.1cnnvd
- https://github.com/n8n-io/n8n/security/advisories/GHSA-h44j-f5r5-ph73cnnvd
- https://github.com/n8n-io/n8n/releases/tag/n8n%402.27.4enisa_euvd
- https://github.com/n8n-io/n8n/releases/tag/n8n%402.28.1enisa_euvd
- https://github.com/n8n-io/n8n/security/advisories/GHSA-h44j-f5r5-ph73enisa_euvd
- https://github.com/n8n-io/n8n/releases/tag/n8n%402.27.4Release Notesnvd
- https://github.com/n8n-io/n8n/releases/tag/n8n%402.28.1Release Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan