{"id":"CVE-2026-59207","aliases":["CVE-2026-59207","GHSA-h44j-f5r5-ph73"],"related":[],"kind":"vulnerability","state":"published","title":"n8n: \"Allowed HTTP Request Domains\" Restriction Bypass via AI Agents MCP Connector","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Impact\nThe 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.\n\nThis 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.\n\n## Patches\nThe 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.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Disable the AI Agents module by removing `agents` from the `N8N_ENABLED_MODULES` environment variable.\n- Restrict credential sharing to fully trusted users only.\n- Audit credentials with domain restrictions for unexpected sharing relationships.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-07-09T15:16:36.276Z","modified":"2026-10-25T17:10:00.197Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-693"],"affected":[{"ranges":[{"version":">= 2.28.0, < 2.28.1","status":"affected"},{"version":"< 2.27.4","status":"affected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.28.0","status":"affected","fixed":"2.28.1"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.27.4"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.27.4"},{"status":"affected","version":"2.28.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-h44j-f5r5-ph73","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n%402.27.4","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n%402.28.1","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59207","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-09T15:51:11.189Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59207","url":"https://www.cve.org/CVERecord?id=CVE-2026-59207","licence":"CVE Terms of Use","modified":"2026-07-09T15:51:27.024Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h44j-f5r5-ph73","url":"https://github.com/advisories/GHSA-h44j-f5r5-ph73","licence":"CC-BY-4.0","modified":"2026-07-22T22:00:25.694Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59207","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59207","licence":"Public domain","modified":"2026-10-25T17:10:00.197Z"}],"updatedAt":"2026-11-25T22:59:27.506Z","epss":{"score":0.00448,"percentile":0.30764,"date":"2026-11-30T12:00:22.000Z"}}