{"id":"CVE-2026-42282","aliases":["CVE-2026-42282","GHSA-wg4g-395p-mqv3"],"related":[],"kind":"vulnerability","state":"published","title":"n8n-MCP: Sensitive MCP tool-call arguments logged on authenticated requests in HTTP mode","summary":"n8n-MCP is an MCP server that provides AI assistants access to n8n node documentation, properties, and operations. Prior to version 2.47.13, when n8n-mcp runs in HTTP transport mode, authenticated MCP tools/call requests had their full arguments and JSON-RPC params written to server logs by the request dispatcher and several sibling code paths before any redaction. When a tool call carries credential material — most notably n8n_manage_credentials.data — the raw values can be persisted in logs. In deployments where logs are collected, forwarded to external systems, or viewable outside the request trust boundary (shared log storage, SIEM pipelines, support/ops access), this can result in disclosure of: bearer tokens and OAuth credentials sent through n8n_manage_credentials, per-tenant API keys and webhook auth headers embedded in tool arguments, arbitrary secret-bearing payloads passed to any MCP tool. The issue requires authentication (AUTH_TOKEN accepted by the server), so unauthenticated callers cannot trigger it; the runtime exposure is also reduced by an existing console-silencing layer in HTTP mode, but that layer is fragile and the values are still constructed and passed into the logger. This issue has been patched in version 2.47.13.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"n8n-MCP is an MCP server that provides AI assistants access to n8n node documentation, properties, and operations. Prior to version 2.47.13, when n8n-mcp runs in HTTP transport mode, authenticated MCP tools/call requests had their full arguments and JSON-RPC params written to server logs by the request dispatcher and several sibling code paths before any redaction. When a tool call carries credential material — most notably n8n_manage_credentials.data — the raw values can be persisted in logs. In deployments where logs are collected, forwarded to external systems, or viewable outside the request trust boundary (shared log storage, SIEM pipelines, support/ops access), this can result in disclosure of: bearer tokens and OAuth credentials sent through n8n_manage_credentials, per-tenant API keys and webhook auth headers embedded in tool arguments, arbitrary secret-bearing payloads passed to any MCP tool. The issue requires authentication (AUTH_TOKEN accepted by the server), so unauthenticated callers cannot trigger it; the runtime exposure is also reduced by an existing console-silencing layer in HTTP mode, but that layer is fragile and the values are still constructed and passed into the logger. This issue has been patched in version 2.47.13.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nWhen `n8n-mcp` runs in HTTP transport mode, authenticated MCP `tools/call` requests had their full arguments and JSON-RPC params written to server logs by the request dispatcher and several sibling code paths before any redaction. When a tool call carries credential material — most notably `n8n_manage_credentials.data` — the raw values can be persisted in logs.\n\nIn deployments where logs are collected, forwarded to external systems, or viewable outside the request trust boundary (shared log storage, SIEM pipelines, support/ops access), this can result in disclosure of:\n\n- bearer tokens and OAuth credentials sent through `n8n_manage_credentials`\n- per-tenant API keys and webhook auth headers embedded in tool arguments\n- arbitrary secret-bearing payloads passed to any MCP tool\n\nThe issue requires authentication (`AUTH_TOKEN` accepted by the server), so unauthenticated callers cannot trigger it; the runtime exposure is also reduced by an existing console-silencing layer in HTTP mode, but that layer is fragile and the values are still constructed and passed into the logger. The fix removes the leak at the source.\n\nImpact category: **CWE-532** (Insertion of Sensitive Information into Log File). CVSS 3.1 score: **4.3 Medium** (`AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`).\n\n### Affected\n\nDeployments running n8n-mcp **v2.47.12 or earlier** in HTTP transport mode (`MCP_MODE=http`). The stdio transport short-circuits the relevant log calls and is not affected in practice.\n\n### Patched\n\n**v2.47.13** and later.\n\n- npm: `npx n8n-mcp@latest` (or pin to `>= 2.47.13`)\n- Docker: `docker pull ghcr.io/czlonkowski/n8n-mcp:latest`\n\nThe patch routes tool-call arguments through a metadata-only summarizer (`summarizeToolCallArgs`) that records type, top-level key names, and approximate size — never values. The same pattern was adopted earlier for HTTP request bodies in GHSA-pfm2-2mhg-8wpx.\n\n### Workarounds\n\nIf developers cannot upgrade immediately:\n\n- Restrict access to the HTTP port (firewall, reverse proxy, or VPN) so only trusted clients can authenticate.\n- Restrict access to server logs (no shared SIEM ingestion, no support read-only access) until the upgrade lands.\n- Switch to stdio transport (`MCP_MODE=stdio`, the default for CLI invocation), which has no HTTP surface and short-circuits the affected log calls.\n\n### Credit\n\nn8n-MCP thanks [@Mirr2](https://github.com/Mirr2) (Organization / Jormungandr) for reporting this issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"n8n-MCP es un servidor MCP que proporciona a los asistentes de IA acceso a la documentación, propiedades y operaciones de los nodos n8n. Antes de la versión 2.47.13, cuando n8n-mcp se ejecuta en modo de transporte HTTP, las solicitudes de herramientas/llamadas MCP autenticadas tenían sus argumentos completos y parámetros JSON-RPC escritos en los registros del servidor por el despachador de solicitudes y varias rutas de código hermanas antes de cualquier redacción. Cuando una llamada de herramienta lleva material de credenciales - más notablemente n8n_manage_credentials.data - los valores sin procesar pueden persistir en los registros. En implementaciones donde los registros se recopilan, se reenvían a sistemas externos o son visibles fuera del límite de confianza de la solicitud (almacenamiento de registros compartido, pipelines SIEM, acceso de soporte/operaciones), esto puede resultar en la divulgación de: tokens de portador y credenciales OAuth enviados a través de n8n_manage_credentials, claves API por inquilino y encabezados de autenticación de webhook incrustados en los argumentos de la herramienta, cargas útiles arbitrarias que contienen secretos pasadas a cualquier herramienta MCP. El problema requiere autenticación (AUTH_TOKEN aceptado por el servidor), por lo que los llamadores no autenticados no pueden activarlo; la exposición en tiempo de ejecución también se reduce por una capa existente de silenciamiento de consola en modo HTTP, pero esa capa es frágil y los valores aún se construyen y se pasan al registrador. Este problema ha sido parcheado en la versión 2.47.13.","source":"nvd"}],"published":"2026-04-25T23:35:28.000Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"version":"< 2.47.13","status":"affected"}],"vendor":"czlonkowski","product":"n8n-mcp","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.47.13"}],"ecosystem":"npm","package":"n8n-mcp","purl":"pkg:npm/n8n-mcp","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.47.13"}],"vendor":"n8n-mcp","product":"n8n-mcp","cpe":"cpe:2.3:a:n8n-mcp:n8n-mcp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/czlonkowski/n8n-mcp/security/advisories/GHSA-wg4g-395p-mqv3","tags":["mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/czlonkowski/n8n-mcp/commit/59b665bda36797823df238aeaf20adb862c9f451","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/czlonkowski/n8n-mcp/releases/tag/v2.47.13","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42282","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/czlonkowski/n8n-mcp","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-12T12:47:00.245Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42282","url":"https://www.cve.org/CVERecord?id=CVE-2026-42282","licence":"CVE Terms of Use","modified":"2026-05-12T18:32:11.186Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wg4g-395p-mqv3","url":"https://github.com/advisories/GHSA-wg4g-395p-mqv3","licence":"CC-BY-4.0","modified":"2026-05-13T13:54:48.095Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42282","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42282","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:21.111Z","epss":{"score":0.00251,"percentile":0.17573,"date":"2026-12-02T12:00:21.000Z"}}