The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-42230

CVE-2026-42230: N8n Auth Bypass Vulnerability

CVE-2026-42230 is an authentication bypass flaw in N8n that allows unauthenticated OAuth client registrations with arbitrary redirect URIs, enabling open redirect attacks for phishing. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 7, 2026

CVE-2026-42230 Overview

CVE-2026-42230 is an open redirect vulnerability in n8n, an open source workflow automation platform. The flaw resides in the /mcp-oauth/register endpoint, which accepts OAuth client registrations without authentication. Attackers can register arbitrary redirect_uri values and craft phishing links that abuse the MCP OAuth consent dialog. When a victim clicks "Deny" on the consent page, the handleDeny handler redirects them to the attacker-controlled URL without validation. The issue affects n8n versions prior to 1.123.32, 2.17.4, and 2.18.1, and is tracked under [CWE-601] (URL Redirection to Untrusted Site).

Critical Impact

Attackers can leverage trusted n8n domains to redirect victims to phishing or malware-hosting sites, increasing the success rate of credential theft and social engineering campaigns.

Affected Products

  • n8n versions prior to 1.123.32
  • n8n versions prior to 2.17.4
  • n8n version 2.18.0 (fixed in 2.18.1)

Discovery Timeline

  • 2026-05-04 - CVE-2026-42230 published to NVD
  • 2026-05-06 - Last updated in NVD database

Technical Details for CVE-2026-42230

Vulnerability Analysis

The vulnerability exists in the Model Context Protocol (MCP) OAuth registration flow within n8n. The /mcp-oauth/register endpoint exposes OAuth Dynamic Client Registration without requiring authentication or validating the client-supplied redirect_uri. This allows any unauthenticated network attacker to register a malicious OAuth client with an arbitrary external redirect target.

During the consent flow, n8n presents users with an OAuth approval dialog. When the user clicks "Deny", the handleDeny handler issues an HTTP redirect to the previously registered redirect_uri. Because no allow-list validation occurs at registration time or at redirect time, the browser is sent to the attacker's domain while still appearing to originate from the trusted n8n instance.

Root Cause

The root cause is missing input validation on the redirect_uri parameter combined with an unauthenticated registration endpoint. The deny path trusts data supplied during client registration without verifying it against an allow-list of approved hosts or schemes.

Attack Vector

An attacker performs the following steps. First, they send an unauthenticated POST request to /mcp-oauth/register with a redirect_uri pointing to their controlled domain. Second, they craft a phishing URL containing the MCP OAuth consent flow with the malicious client_id. Third, they deliver the link to a victim through email or chat. When the victim opens the link and clicks "Deny" thinking they are rejecting the request, the n8n server redirects them to the external attacker site, which can host credential phishing pages or drive-by downloads.

No verified exploitation code is publicly available. See the GitHub Security Advisory GHSA-f6x8-65q6-j9m9 for technical details.

Detection Methods for CVE-2026-42230

Indicators of Compromise

  • HTTP POST requests to /mcp-oauth/register originating from unauthenticated or unexpected source IPs.
  • OAuth client registrations containing redirect_uri values pointing to domains outside the organization's trusted list.
  • HTTP 302 responses from the n8n consent flow targeting external, non-corporate domains.

Detection Strategies

  • Inspect web server access logs for traffic to /mcp-oauth/register and correlate with subsequent consent denials that issue cross-origin redirects.
  • Audit the n8n MCP OAuth client registry for entries with suspicious or unfamiliar redirect_uri hostnames.
  • Monitor user reports of unexpected browser redirects originating from internal n8n URLs.

Monitoring Recommendations

  • Forward n8n application logs to a centralized SIEM and alert on registration events from unauthenticated principals.
  • Track outbound redirects from n8n hosts to flag spikes in traffic to newly registered or low-reputation domains.
  • Enable URL reputation checks at the secure web gateway to block redirects to known phishing infrastructure.

How to Mitigate CVE-2026-42230

Immediate Actions Required

  • Upgrade n8n to version 1.123.32, 2.17.4, or 2.18.1 depending on the deployed release branch.
  • Review and purge any unauthorized entries from the MCP OAuth client registration store.
  • Restrict network access to the n8n management interface to trusted users and networks until patching is complete.

Patch Information

n8n has released fixed builds in versions 1.123.32, 2.17.4, and 2.18.1. The patches add authentication enforcement and redirect_uri validation on the MCP OAuth registration and deny flows. Patch details are documented in the n8n GitHub Security Advisory.

Workarounds

  • Block external access to the /mcp-oauth/register endpoint at a reverse proxy or web application firewall until the upgrade can be applied.
  • Disable the MCP OAuth feature in n8n configurations where it is not in use.
  • Educate users to verify destination URLs before submitting credentials following any OAuth consent interaction.

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

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-601
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-42226: N8n Auth Bypass Vulnerability

  • CVE-2026-42227: N8n Workflow Automation Auth Bypass Flaw

  • CVE-2026-42228: N8n Auth Bypass Vulnerability

  • CVE-2026-33722: n8n Workflow Automation Auth Bypass Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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