CVE-2026-59207
JSON

7.1high

n8n: "Allowed HTTP Request Domains" Restriction Bypass via AI Agents MCP Connector

Severity
7.1high CVSS:4.0 by GitHub_M
Exploit likelihood
0.45% (higher than 31% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-h44j-f5r5-ph73

Description

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.

Affected

Product or packageVersionsReported by
n8n-io n8n>= 2.28.0, < 2.28.1, < 2.27.4CVE List
n8n (npm)from 2.28.0 before 2.28.1, before 2.27.4GitHub Advisory Database
n8n n8nbefore 2.27.4, 2.28.0NVD

All scores

GitHub_M7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-693

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

n8n es una plataforma de automatización de flujos de trabajo de código abierto. Antes de las versiones 2.27.4 y 2.28.1, la función de Agentes de IA no aplicaba la restricción de Dominios HTTP de Solicitud Permitidos configurada en las credenciales cuando una herramienta MCP apuntaba a una URL arbitraria, permitiendo a un usuario de nivel miembro con acceso de solo uso a una credencial compartida enviar su secreto a un servidor externo que controlaba. Este problema está solucionado en las versiones 2.27.4 y 2.28.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59207 changed 2026-07-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-h44j-f5r5-ph73 changed 2026-07-22CC-BY-4.0
NVDCVE-2026-59207 changed 2026-10-25Public domain