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
    • 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-33720

CVE-2026-33720: n8n Workflow Auth Bypass Vulnerability

CVE-2026-33720 is an authentication bypass flaw in n8n workflow automation platform that allows attackers to steal OAuth tokens via malicious credential objects. This article covers technical details, affected versions, and patches.

Published: March 27, 2026

CVE-2026-33720 Overview

CVE-2026-33720 is an authorization bypass vulnerability in n8n, an open source workflow automation platform. When the N8N_SKIP_AUTH_ON_OAUTH_CALLBACK environment variable is set to true, the OAuth callback handler skips ownership verification of the OAuth state parameter. This allows an attacker to trick a victim into completing an OAuth flow against a credential object the attacker controls, causing the victim's OAuth tokens to be stored in the attacker's credential. The attacker can then use those tokens to execute workflows in the victim's name.

Critical Impact

Attackers can steal OAuth tokens from victims and execute workflows under their identity, potentially leading to unauthorized access to connected third-party services and data exfiltration.

Affected Products

  • n8n versions prior to 2.8.0
  • Instances with N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true explicitly configured

Discovery Timeline

  • 2026-03-25 - CVE-2026-33720 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33720

Vulnerability Analysis

This vulnerability is classified as CWE-863 (Incorrect Authorization), where the n8n application fails to properly verify ownership of the OAuth state parameter during the OAuth callback process. The flaw specifically manifests when the non-default configuration N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true is enabled.

Under normal operation, OAuth flows use a state parameter to maintain the integrity of the authorization process and prevent cross-site request forgery attacks. When the vulnerable configuration is active, n8n bypasses the critical step of verifying that the user completing the OAuth flow is the same user who initiated it. This creates an opportunity for attackers to intercept and redirect OAuth tokens to credentials they control.

Root Cause

The root cause lies in the OAuth callback handler's conditional logic that skips ownership verification when N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true is configured. This environment variable was likely introduced to support specific deployment scenarios but creates a significant security gap by disabling essential authorization checks. The state parameter, which should bind the OAuth flow to a specific user session, is not validated, allowing credential object ownership to be manipulated by attackers.

Attack Vector

The attack leverages a network-based vector where an attacker crafts a malicious OAuth flow. The attacker first creates a credential object in n8n, then initiates an OAuth authorization flow. Instead of completing the flow themselves, the attacker tricks a victim (through social engineering or phishing) into completing the OAuth authentication. Because ownership verification is skipped, the victim's OAuth tokens are stored in the attacker's credential object. The attacker can then use these stolen tokens to execute workflows with the victim's OAuth permissions, potentially accessing sensitive third-party services and data.

The vulnerability requires user interaction and affects confidentiality and integrity at both local and subsequent system levels, though availability is not impacted.

Detection Methods for CVE-2026-33720

Indicators of Compromise

  • Unusual OAuth credential access patterns where credentials are accessed by users who did not create them
  • Workflow executions using OAuth credentials that don't match the expected credential owner
  • Multiple OAuth authorizations for the same credential from different IP addresses or user sessions
  • Anomalous API calls to third-party services from credentials with recently updated OAuth tokens

Detection Strategies

  • Monitor n8n audit logs for credential access by non-owner users
  • Implement alerting on OAuth token updates where the authorizing user differs from the credential owner
  • Review environment configurations for presence of N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true
  • Deploy network monitoring to detect OAuth callback manipulation attempts

Monitoring Recommendations

  • Enable detailed logging for OAuth callback endpoints in n8n
  • Configure SIEM alerts for suspicious credential sharing or access patterns
  • Implement user behavior analytics to detect OAuth token theft scenarios
  • Regularly audit which credentials are being used across different user workflows

How to Mitigate CVE-2026-33720

Immediate Actions Required

  • Upgrade n8n to version 2.8.0 or later immediately
  • Review environment configuration and remove or disable N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true if not strictly required
  • Audit existing OAuth credentials for signs of unauthorized access or token theft
  • Restrict access to the n8n instance to fully trusted users only as an interim measure

Patch Information

The vulnerability has been fixed in n8n version 2.8.0. Users should upgrade to this version or later to fully remediate the vulnerability. The fix restores proper ownership verification of OAuth state parameters regardless of environment configuration. For more details, refer to the GitHub Security Advisory.

Workarounds

  • Avoid enabling N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true unless strictly required for your deployment
  • Restrict access to the n8n instance to only fully trusted users
  • Implement network-level access controls to limit who can reach OAuth callback endpoints
  • Consider temporarily disabling OAuth integrations until the patch can be applied
bash
# Remove vulnerable configuration from environment
# Check current environment variable
echo $N8N_SKIP_AUTH_ON_OAUTH_CALLBACK

# Unset the variable if present (temporary for current session)
unset N8N_SKIP_AUTH_ON_OAUTH_CALLBACK

# For persistent removal, edit your n8n configuration file or environment
# and remove or comment out the N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true line

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 Score6.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/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-863
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33722: n8n Workflow Automation Auth Bypass Flaw

  • CVE-2026-33663: n8n Auth Bypass Vulnerability

  • CVE-2026-33665: n8n LDAP Authentication Bypass Vulnerability

  • CVE-2026-33751: n8n LDAP Injection Auth Bypass Flaw
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