Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-22820

CVE-2026-22820: Outray Race Condition Vulnerability

CVE-2026-22820 is a TOCTOU race condition vulnerability in Outray that allows users to bypass tunnel limits in their subscription plan. This article covers the technical details, affected versions, and mitigation steps.

Published: January 23, 2026

CVE-2026-22820 Overview

CVE-2026-22820 is a Time-of-Check Time-of-Use (TOCTOU) race condition vulnerability in Outray, an open-source ngrok alternative for creating secure tunnels. Prior to version 0.1.5, the application fails to properly synchronize access to subscription plan tunnel limits, allowing attackers to exploit a race condition to exceed their allocated number of active tunnels.

Critical Impact

Attackers can bypass subscription plan limitations and create more tunnels than authorized, potentially leading to resource abuse, service degradation, and circumvention of business logic controls.

Affected Products

  • Outray (Node.js) versions prior to 0.1.5
  • Outray open-source tunnel service
  • Self-hosted Outray deployments

Discovery Timeline

  • 2026-01-14 - CVE CVE-2026-22820 published to NVD
  • 2026-01-20 - Last updated in NVD database

Technical Details for CVE-2026-22820

Vulnerability Analysis

This vulnerability stems from a classic TOCTOU race condition in the tunnel creation workflow. When a user requests a new tunnel, the application checks whether the user has reached their subscription's tunnel limit before granting the request. However, a timing gap exists between this validation check and the actual tunnel creation operation.

An attacker can exploit this window by sending multiple concurrent tunnel creation requests. If these requests are processed simultaneously, each individual request may pass the tunnel limit check before any of them complete the creation process. This allows the attacker to create more tunnels than their subscription permits.

The attack requires network access and precise timing, as the exploitation window is narrow. While the integrity impact is limited to bypassing subscription controls, the vulnerability undermines the application's business logic enforcement and could lead to resource exhaustion on shared infrastructure.

Root Cause

The root cause is insufficient synchronization in the subscription validation logic. The application performs a non-atomic check-then-act operation:

  1. Check phase: Query current tunnel count and compare against subscription limit
  2. Act phase: Create new tunnel and increment counter

Without proper locking or atomic operations, concurrent requests can interleave, with multiple threads passing the check phase before any complete the act phase.

Attack Vector

The attack is network-based and requires no authentication beyond a valid user account. An attacker can craft a script to send rapid, concurrent HTTP requests to the tunnel creation endpoint. The timing characteristics make this a probabilistic attack—success depends on server load, network latency, and the attacker's ability to time requests within the race window.

The exploitation mechanism involves concurrent API calls to the tunnel creation endpoint. By issuing multiple simultaneous requests, an attacker can bypass the subscription limit check before the tunnel count is updated, effectively creating more tunnels than authorized. For technical details, see the GitHub Security Advisory GHSA-3pqc-836w-jgr7.

Detection Methods for CVE-2026-22820

Indicators of Compromise

  • Rapid succession of tunnel creation requests from a single user or IP address
  • Users with active tunnel counts exceeding their subscription limits
  • Anomalous spikes in concurrent API requests to tunnel creation endpoints
  • Database inconsistencies between tunnel counts and subscription tiers

Detection Strategies

  • Implement rate limiting alerts on tunnel creation API endpoints
  • Monitor for users with tunnel counts exceeding subscription boundaries
  • Deploy application performance monitoring (APM) to detect concurrent request anomalies
  • Review API logs for burst patterns of tunnel creation attempts within millisecond windows

Monitoring Recommendations

  • Enable detailed logging of all tunnel creation requests with timestamps
  • Set up automated alerts for subscription limit threshold violations
  • Monitor server resource utilization for unexpected increases in tunnel connections
  • Implement real-time dashboards tracking tunnel allocation per subscription tier

How to Mitigate CVE-2026-22820

Immediate Actions Required

  • Upgrade Outray to version 0.1.5 or later immediately
  • Audit current tunnel allocations to identify any users exceeding subscription limits
  • Review logs for evidence of exploitation attempts
  • Consider temporarily implementing additional rate limiting on tunnel creation endpoints

Patch Information

The vulnerability has been fixed in Outray version 0.1.5. The fix addresses the race condition by implementing proper synchronization mechanisms in the tunnel creation workflow. The patch is available in commit 08c61495761349e7fd2965229c3faa8d7b1c1581.

For detailed information, refer to the GitHub Security Advisory GHSA-3pqc-836w-jgr7.

Workarounds

  • Implement application-level rate limiting on tunnel creation requests
  • Deploy a reverse proxy with request throttling to limit concurrent requests per user
  • Add manual monitoring of tunnel counts versus subscription limits
  • Consider implementing database-level constraints to enforce tunnel limits
bash
# Example: Implement rate limiting with nginx (temporary workaround)
# Add to nginx configuration for Outray API endpoints
limit_req_zone $binary_remote_addr zone=tunnel_limit:10m rate=1r/s;

location /api/tunnels {
    limit_req zone=tunnel_limit burst=2 nodelay;
    proxy_pass http://outray_backend;
}

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechOutray

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/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
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-367
  • Vendor Resources
  • GitHub Commit Reference

  • GitHub Security Advisory GHSA-3pqc-836w-jgr7
  • Related CVEs
  • CVE-2026-22819: Outray Privilege Escalation Vulnerability
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