n8n-mcp CVE-2026-41495
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP POST request to /mcp endpoint
-
DeliveryRequest metadata logged to server logs
-
ExploitCredentials extracted from logged Authorization/x-n8n-key headers
-
ExecutionRequest rejected with 401 Unauthorized
-
PersistAttacker/insider retrieves logs from centralized system
-
ImpactCredentials used for unauthorized access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
|
| Exploitation Conditions | The vulnerability exists only in deployments with |
| Impact | The CVSS 5.3 score reflects network-accessible unauthenticated attack surface (AV:N/AC:L/PR:N/UI:N) with low confidentiality impact and no integrity or availability impact. However, real-world risk depends critically on log aggregation and visibility. In many modern deployments, logs are automatically collected to centralized SIEM systems, cloud logging services (CloudWatch, Stackdriver), or shared storage accessible to support and operations teams, significantly expanding the trust boundary beyond the application itself. The vulnerability is not a typical auth bypass; access control functions correctly and returns 401 Unauthorized. Instead, it is an information disclosure flaw where sensitive values leak as a side effect of the correct rejection. EPSS data not provided, but the low CVSS combined with the requirement that logs be exposed to an attacker suggests moderate real-world exploitation probability in environments with permissive log access. No CISA KEV listing or public exploit code identified. Organizations with strict log access controls and short log retention windows face lower risk; those with centralized logging visible to many teams face higher risk. The presence of an available patch with immediate availability (v2.47.11) suggests the vendor prioritized remediation. |
| Exploit ScenarioDerived | An attacker sends a series of HTTP POST requests to the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 23, 2026
n8n-mcp v2.47.10 and earlier in HTTP transport mode logs sensitive authentication credentials and request metadata regardless of authentication outcome, allowing disclosure of bearer tokens, API keys, and JSON-RPC payloads to any system with access to server logs. While access control correctly rejects unauthenticated requests with 401 responses, the sensitive data from those rejected requests is persisted in logs before authentication is enforced, creating an information disclosure vulnerability (CWE-532) with CVSS 5.3 (low confidentiality impact). No public exploit code or active exploitation is documented; patch is available in v2.47.11.
RemediationAI
Upgrade to n8n-mcp v2.47.11 or later immediately using npm install n8n-mcp@latest or npm install n8n-mcp@>=2.47.11, or pull the patched Docker image via docker pull ghcr.io/czlonkowski/n8n-mcp:latest. If immediate upgrade is not possible, apply one of two workarounds: (1) Restrict network access to the HTTP port using firewall rules, reverse proxy authentication, or VPN, ensuring only trusted clients within your organization's network can reach the POST /mcp endpoint - this prevents external attackers from sending malicious requests whose metadata would be logged, though internal threats and log visibility remain a concern; or (2) Switch to stdio transport mode by setting MCP_MODE=stdio (the default for CLI invocation), which eliminates the HTTP surface entirely and removes the network exposure vector, though this may require changes to your deployment architecture if HTTP transport is relied upon for client communication. Note that neither workaround addresses the underlying logging issue if it exists in stdio mode or if internal requests are logged - upgrade is the only complete fix.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n-mcp is a Node.js-based Model Context Protocol (MCP) server implementation used for integrating AI models with n8n workflows. The vulnerability exists in the HTTP transport mode (MCP_MODE=http), which exposes a POST /mcp endpoint for receiving JSON-RPC requests. The root cause is premature logging of entire request metadata (including headers) before authentication validation occurs. In HTTP transport, the server logs incoming request details at the framework or middleware level before reaching authentication middleware that checks the Authorization header (bearer tokens) or x-n8n-key header (multi-tenant API keys). The stdio transport variant (default for CLI) is unaffected because it does not have an HTTP surface exposed to untrusted network clients. This is a classic timing-of-check vulnerability where sensitive data is logged during request processing before authentication gates determine whether the request should be trusted.
Know when Docker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from Vendor (https://github.com/czlonkowski/n8n-mcp) · only source for this CVE.
CVSS VectorVendor: https://github.com/czlonkowski/n8n-mcp
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
GHSA-pfm2-2mhg-8wpx
NVD
CVE.org
EPSS
Exploit-DB