Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n-mcp
  4. ›
  5. CVE-2026-42282

CVE-2026-42282: n8n-MCP: Sensitive MCP tool-call arguments logged on authenticated requests in HTTP mode

April 25, 2026 (updated May 4, 2026)

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. The fix removes the leak at the source.

Impact 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).

References

  • github.com/advisories/GHSA-wg4g-395p-mqv3
  • github.com/czlonkowski/n8n-mcp
  • github.com/czlonkowski/n8n-mcp/commit/59b665bda36797823df238aeaf20adb862c9f451
  • github.com/czlonkowski/n8n-mcp/security/advisories/GHSA-wg4g-395p-mqv3
  • nvd.nist.gov/vuln/detail/CVE-2026-42282

Code Behaviors & Features

Detect and mitigate CVE-2026-42282 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.47.13

Fixed versions

  • 2.47.13

Solution

Upgrade to version 2.47.13 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

npm/n8n-mcp/CVE-2026-42282.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:31 +0000.