n8n-MCP Logs Sensitive Request Data on Unauthorized /mcp Requests
Impact
When n8n-mcp runs in HTTP transport mode, incoming requests to the POST /mcp endpoint had their request metadata written to server logs regardless of the authentication outcome. 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 from the
Authorizationheader - per-tenant API keys from the
x-n8n-keyheader in multi-tenant setups - JSON-RPC request payloads sent to the MCP endpoint
Access control itself was not bypassed — unauthenticated requests were correctly rejected with 401 Unauthorized — but sensitive values from those rejected requests could still be persisted in logs.
Impact category: CWE-532 (Insertion of Sensitive Information into Log File).
Affected
Deployments running n8n-mcp v2.47.10 or earlier in HTTP transport mode (MCP_MODE=http). The stdio transport is not affected.
Patched
v2.47.11 and later.
- npm:
npx n8n-mcp@latest(or pin to>= 2.47.11) - Docker:
docker pull ghcr.io/czlonkowski/n8n-mcp:latest
Workarounds
If users cannot upgrade immediately:
- Restrict network access to the HTTP port (firewall, reverse proxy, or VPN) so only trusted clients can reach the endpoint.
- Switch to stdio transport (
MCP_MODE=stdio, the default for CLI invocation), which has no HTTP surface.
Credit
n8n-MCP thanks @S4nso (Organization / Jormungandr) for reporting this issue.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| npm-Paket | n8n-mcp | < 2.47.11 | 2.47.11 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- Schwäche (CWE)
CWE-532- Plattform
- npm
- Paket
n8n-mcp- Veröffentlicht
- 23.04.2026
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-pfm2-2mhg-8wpx - CC BY 4.0
Schwachstellenhistorie: n8n-mcp
Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 11
- Erste → letzte
- 04.2026 07.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 1
- Hoch 6
- Mittel 4
Veröffentlichungen pro Jahr
- 2026: 11
-
n8n-MCP Logs Sensitive Request Data on Unauthorized /mcp Requests dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.