A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2025-68949

CVE-2025-68949: n8n Webhook IP Whitelist Bypass Vulnerability

CVE-2025-68949 is an authentication bypass flaw in n8n's Webhook node that allows attackers to circumvent IP whitelist restrictions through partial string matching. This article covers technical details, affected versions, and steps.

Updated: January 22, 2026

CVE-2025-68949 Overview

CVE-2025-68949 is an authorization bypass vulnerability in n8n, an open source workflow automation platform. The vulnerability exists in the Webhook node's IP whitelist validation mechanism, which performs partial string matching instead of exact IP comparison. This flawed implementation allows attackers to bypass IP-based access controls if their IP address merely contains a configured whitelist entry as a substring.

Critical Impact

Attackers with non-whitelisted IP addresses can bypass webhook access restrictions by using IP addresses that share a partial prefix with trusted addresses, undermining IP-based security boundaries.

Affected Products

  • n8n versions 1.36.0 through 2.1.x
  • n8n Webhook Node component
  • Both IPv4 and IPv6 address configurations

Discovery Timeline

  • 2026-01-13 - CVE CVE-2025-68949 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2025-68949

Vulnerability Analysis

This vulnerability stems from an improper input validation issue in the Webhook node's IP whitelist feature. When workflow editors configure IP-based access controls to restrict which source addresses can trigger webhooks, the validation logic uses substring matching rather than exact IP comparison.

For example, if an administrator configures the whitelist to allow 192.168.1.1, the flawed validation would also accept requests from IP addresses like 192.168.1.10, 192.168.1.100, or any other address containing 192.168.1.1 as a substring. This applies to both IPv4 and IPv6 address formats.

The attack requires network-level access to reach the n8n webhook endpoint. An attacker who can identify or infer whitelisted IP addresses could craft requests from an IP address that contains the trusted address as a substring, effectively bypassing the intended access control mechanism.

Root Cause

The root cause is classified under CWE-134 (Use of Externally-Controlled Format String), though the specific issue relates to improper string comparison logic in the IP whitelist validation routine. The implementation uses a partial string matching method (such as includes() or indexOf()) rather than an exact equality check or proper CIDR notation parsing for IP address validation.

Attack Vector

The attack vector is network-based. An attacker must:

  1. Identify a target n8n instance with webhook endpoints protected by IP whitelisting
  2. Determine or guess at least a portion of the whitelisted IP address(es)
  3. Originate requests from an IP address that contains the whitelisted address as a substring
  4. Successfully trigger webhook executions that should have been blocked

The vulnerability enables unauthorized access to webhook-triggered workflows, potentially leading to unauthorized data access, workflow manipulation, or abuse of automated processes.

Detection Methods for CVE-2025-68949

Indicators of Compromise

  • Webhook requests originating from IP addresses not explicitly listed in the whitelist configuration
  • Access logs showing successful webhook executions from IP addresses that partially match (but don't exactly match) whitelisted entries
  • Unexpected workflow executions triggered by external sources
  • Patterns of requests from IP addresses with similar prefixes to whitelisted addresses

Detection Strategies

  • Review n8n access logs for webhook requests from unexpected IP addresses that share common prefixes with whitelisted entries
  • Implement network-level logging to correlate source IPs with expected whitelist configurations
  • Monitor for unauthorized workflow executions that may indicate bypass of IP restrictions
  • Audit webhook configurations to identify instances relying solely on IP whitelisting for access control

Monitoring Recommendations

  • Enable detailed logging for all webhook invocations including source IP addresses
  • Implement alerting for webhook requests from IP addresses not in the explicit whitelist
  • Consider deploying network intrusion detection rules to flag suspicious IP patterns targeting n8n webhooks
  • Regularly audit workflow execution logs for anomalous activity patterns

How to Mitigate CVE-2025-68949

Immediate Actions Required

  • Upgrade n8n to version 2.2.0 or later immediately
  • Review all webhook configurations that utilize IP whitelisting for access control
  • Audit recent webhook execution logs to identify potential exploitation attempts
  • Consider implementing additional authentication mechanisms beyond IP whitelisting

Patch Information

The vulnerability is fixed in n8n version 2.2.0. The fix modifies the IP whitelist validation to perform exact IP comparison rather than partial string matching. For detailed technical information about the patch, refer to the GitHub Commit and GitHub Security Advisory.

Workarounds

  • Implement additional authentication mechanisms (API keys, OAuth tokens) for webhook endpoints instead of relying solely on IP whitelisting
  • Deploy a reverse proxy or web application firewall (WAF) in front of n8n to enforce strict IP-based access controls at the network layer
  • Use network segmentation to limit which source networks can reach n8n webhook endpoints
  • Consider temporarily disabling IP whitelist-protected webhooks until the upgrade can be completed
bash
# Example: Deploy n8n behind nginx with strict IP filtering
# nginx.conf snippet for webhook endpoint protection
location /webhook/ {
    # Strict IP allowlist - exact matches only
    allow 192.168.1.1;
    allow 10.0.0.50;
    deny all;
    
    proxy_pass http://localhost:5678;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

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

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-134
  • Technical References
  • GitHub Commit Update

  • GitHub Issue Tracker

  • GitHub Pull Request

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-25631: n8n Auth Bypass Vulnerability

  • CVE-2026-21894: n8n Stripe Trigger Auth Bypass Vulnerability

  • CVE-2026-25115: N8n Workflow Automation RCE Vulnerability

  • CVE-2026-25056: N8n Workflow Automation RCE Vulnerability
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
  • English
  • 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