A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-45707

CVE-2026-45707: N8n-mcp Auth Bypass Vulnerability

CVE-2026-45707 is an authentication bypass vulnerability in N8n-mcp that allows tenants to execute management calls against the operator's instance. This post covers technical details, affected versions, impact, and mitigation.

Published: June 4, 2026

CVE-2026-45707 Overview

CVE-2026-45707 is a broken access control vulnerability [CWE-284] in n8n-MCP, a Model Context Protocol (MCP) server that exposes n8n node documentation, properties, and operations to AI assistants. In multi-tenant HTTP deployments (ENABLE_MULTI_TENANT=true), requests that omitted the x-n8n-url or x-n8n-key headers silently fell back to the operator's process-level N8N_API_URL and N8N_API_KEY credentials. An authenticated tenant could therefore route n8n management calls to the operator's own n8n instance instead of its tenant-scoped target. The flaw affects versions prior to 2.51.2 and is fixed in 2.51.2.

Critical Impact

Authenticated tenants on shared n8n-MCP HTTP deployments can execute n8n management operations against the operator's privileged instance, breaking tenant isolation.

Affected Products

  • n8n-MCP HTTP-mode deployments running as a shared multi-tenant service
  • All n8n-MCP versions prior to 2.51.2 with ENABLE_MULTI_TENANT=true
  • Deployments configuring process-level N8N_API_URL / N8N_API_KEY as operator credentials

Discovery Timeline

  • 2026-05-29 - CVE-2026-45707 published to NVD
  • 2026-06-01 - Last updated in NVD database

Technical Details for CVE-2026-45707

Vulnerability Analysis

n8n-MCP's HTTP transport supports a multi-tenant mode where each request selects its target n8n instance via the x-n8n-url and x-n8n-key headers. The documented contract assumes that every tenant request will supply both headers. The implementation, however, did not enforce this contract. When either header was missing, the server resolved the n8n target by falling back to the environment-level N8N_API_URL and N8N_API_KEY variables.

Those process-level variables typically hold the operator's own n8n credentials, used for local testing or administrative bootstrapping. As a result, authenticated tenants could invoke n8n management tools against the operator's privileged instance. The vulnerability is scoped to HTTP-mode multi-tenant deployments. Single-tenant installations, or deployments where ENABLE_MULTI_TENANT is unset or false, are not affected.

Root Cause

The root cause is a permissive credential resolution path in the HTTP request handler. The handler treated tenant headers as optional inputs rather than mandatory per-request credentials. Missing or partial headers were not rejected; instead the server reused operator credentials, violating tenant isolation. This pattern maps to CWE-284 (Improper Access Control), where authorization boundaries are not enforced at the credential-selection layer.

Attack Vector

An attacker requires authenticated tenant access to the shared n8n-MCP HTTP endpoint. The attacker issues an MCP tool request that omits one or both of the x-n8n-url and x-n8n-key headers. The server resolves the call against the operator's n8n instance and executes any n8n management operation exposed through MCP. Operations may include workflow enumeration, credential retrieval through workflows, workflow execution, and modification of automation logic on the operator's environment.

No verified public exploit code is available. The fix is implemented in commit 853015d and described in the GitHub Security Advisory GHSA-jxx9-px88-pj69.

Detection Methods for CVE-2026-45707

Indicators of Compromise

  • HTTP requests to the n8n-MCP server missing x-n8n-url or x-n8n-key headers while ENABLE_MULTI_TENANT=true is configured.
  • n8n audit logs on the operator instance showing API calls originating from the n8n-MCP service account at times correlated with tenant activity.
  • Unexpected workflow executions, credential reads, or workflow modifications on the operator's n8n instance.
  • n8n-MCP versions prior to 2.51.2 deployed in HTTP transport mode.

Detection Strategies

  • Inspect reverse proxy and application logs for MCP tool calls that lack tenant headers but still produced successful n8n responses.
  • Correlate n8n API request source IPs and timestamps against tenant identity records to identify cross-tenant access patterns.
  • Alert on any n8n management API call made by the operator's API key during a tenant-initiated MCP session.

Monitoring Recommendations

  • Enable verbose request logging on the n8n-MCP HTTP layer to capture header presence per request.
  • Forward n8n audit events and MCP server logs to a centralized SIEM for correlation across tenants.
  • Track the deployed n8n-MCP version across hosts and alert when any instance running below 2.51.2 has multi-tenant mode enabled.

How to Mitigate CVE-2026-45707

Immediate Actions Required

  • Upgrade n8n-MCP to version 2.51.2 or later on all HTTP-mode multi-tenant deployments.
  • Rotate the operator's N8N_API_KEY if multi-tenant mode was enabled on a vulnerable build.
  • Audit the operator n8n instance for unauthorized workflow changes, credential access, and executions occurring before the upgrade.
  • Restrict tenant authentication tokens until the upgrade is verified.

Patch Information

The fix is shipped in n8n-MCP v2.51.2. The patch enforces presence of both x-n8n-url and x-n8n-key headers per request in multi-tenant mode and removes the fallback to process-level credentials. Technical details are available in the security advisory GHSA-jxx9-px88-pj69.

Workarounds

  • Set ENABLE_MULTI_TENANT=false and operate the n8n-MCP server as a single-tenant service until the upgrade is applied.
  • Remove N8N_API_URL and N8N_API_KEY from the n8n-MCP process environment so missing-header requests fail closed.
  • Place a reverse proxy in front of n8n-MCP that rejects requests lacking both x-n8n-url and x-n8n-key headers.
bash
# Configuration example: disable the vulnerable fallback path
unset N8N_API_URL
unset N8N_API_KEY
export ENABLE_MULTI_TENANT=false
# Then upgrade to the fixed release
npm install n8n-mcp@2.51.2

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechN8n Mcp

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-284
  • Technical References
  • GitHub Release v2.51.2
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-jxx9-px88-pj69
  • Related CVEs
  • CVE-2026-45582: N8n-mcp Information Disclosure Flaw

  • CVE-2026-44694: N8n-mcp Server SSRF Vulnerability

  • CVE-2026-42282: N8n-mcp Information Disclosure Flaw

  • CVE-2026-41495: N8n-mcp Information Disclosure Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English