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-40289

CVE-2026-40289: PraisonAI Auth Bypass Vulnerability

CVE-2026-40289 is an authentication bypass flaw in PraisonAI's browser bridge that allows remote session hijacking via the /ws WebSocket endpoint. This article covers the technical details, affected versions, and mitigation.

Published: April 17, 2026

CVE-2026-40289 Overview

CVE-2026-40289 is a critical authentication bypass vulnerability in PraisonAI, a multi-agent teams system. The vulnerability exists in the browser bridge component (praisonai browser start) which is susceptible to unauthenticated remote session hijacking due to missing authentication controls and a bypassable origin check on its /ws WebSocket endpoint. The server binds to 0.0.0.0 by default and only validates the Origin header when one is present, allowing any non-browser client that omits the header to connect without restriction.

Critical Impact

An unauthenticated network attacker can connect to the WebSocket endpoint, send a start_session message, and hijack idle browser-extension WebSocket sessions. This enables unauthorized remote control of browser automation sessions, leakage of sensitive page context and automation results, and misuse of model-backed browser actions.

Affected Products

  • PraisonAI versions below 4.5.139
  • praisonaiagents versions below 1.5.140

Discovery Timeline

  • 2026-04-14 - CVE CVE-2026-40289 published to NVD
  • 2026-04-14 - Last updated in NVD database

Technical Details for CVE-2026-40289

Vulnerability Analysis

This vulnerability (CWE-306: Missing Authentication for Critical Function) allows attackers to exploit the browser bridge's WebSocket endpoint without any authentication. The core issue stems from two compounding security failures: the service binding to all network interfaces (0.0.0.0) by default, and the conditional Origin header validation that only triggers when the header is present.

When a legitimate browser extension establishes a WebSocket connection to the bridge, it becomes available in a pool of idle sessions. An attacker on the same network can connect to the /ws endpoint, omit the Origin header entirely to bypass the validation check, and send a crafted start_session message. The server then incorrectly routes this request to the first available idle browser-extension WebSocket, effectively granting the attacker control over that session.

The impact is severe: attackers gain unauthorized remote control of connected browser automation sessions, can exfiltrate sensitive page context and automation results being processed, and may abuse model-backed browser actions in any network-accessible deployment.

Root Cause

The root cause is a missing authentication mechanism combined with a flawed Origin header validation implementation. The WebSocket server at the /ws endpoint lacks any form of authentication or authorization checks. Additionally, the Origin header validation is implemented conditionally—it only validates when an Origin header exists in the request, making it trivially bypassable by simply omitting the header in the WebSocket connection request.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker with network access to the browser bridge service can exploit this vulnerability by:

  1. Establishing a WebSocket connection to the /ws endpoint without including an Origin header
  2. The server accepts the connection due to the conditional origin check bypass
  3. Sending a start_session message through the WebSocket
  4. The server routes this message to the first idle browser-extension WebSocket in the pool
  5. The attacker receives all automation actions and outputs broadcast by the hijacked session

This attack can be executed from any system with network connectivity to the vulnerable bridge service. Since the service binds to 0.0.0.0 by default, any network-reachable deployment is potentially exposed. No special tools or privileges are required beyond the ability to make WebSocket connections.

Detection Methods for CVE-2026-40289

Indicators of Compromise

  • Unexpected WebSocket connections to the /ws endpoint from external IP addresses
  • WebSocket connection attempts lacking Origin headers in server logs
  • Unusual start_session messages from unrecognized client sources
  • Browser automation sessions being initiated without corresponding user activity

Detection Strategies

  • Monitor WebSocket connection logs for requests missing Origin headers to the browser bridge service
  • Implement network-level detection for connections to the default browser bridge port from untrusted networks
  • Review server access logs for patterns of connections from non-browser user agents
  • Deploy application-layer firewalls to inspect WebSocket traffic for unauthorized session commands

Monitoring Recommendations

  • Enable verbose logging on the PraisonAI browser bridge to capture all WebSocket connection details
  • Set up alerts for WebSocket connections originating from external network segments
  • Monitor for data exfiltration patterns indicating stolen automation results
  • Implement anomaly detection for unusual session hijacking behavior patterns

How to Mitigate CVE-2026-40289

Immediate Actions Required

  • Upgrade PraisonAI to version 4.5.139 or later immediately
  • Upgrade praisonaiagents to version 1.5.140 or later immediately
  • Restrict network access to the browser bridge service using firewall rules until patched
  • Disable the browser bridge component if not actively required

Patch Information

The vulnerability has been fixed in PraisonAI version 4.5.139 and praisonaiagents version 1.5.140. Organizations should upgrade to these versions or later to remediate the vulnerability. For more details, refer to the GitHub Security Advisory.

Workarounds

  • Configure the browser bridge to bind to 127.0.0.1 instead of 0.0.0.0 to restrict access to localhost only
  • Implement network segmentation to isolate the browser bridge service from untrusted networks
  • Deploy a reverse proxy with authentication in front of the WebSocket endpoint
  • Use firewall rules to allowlist only trusted IP addresses that require access to the browser bridge
bash
# Example firewall rule to restrict access to localhost only
# Assuming browser bridge runs on port 8080
iptables -A INPUT -p tcp --dport 8080 -s 127.0.0.1 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROP

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechPraisonai

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-306
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34952: Praison Praisonai Auth Bypass Vulnerability

  • CVE-2026-40315: PraisonAI SQL Injection Vulnerability

  • CVE-2026-40287: PraisonAI RCE Vulnerability

  • CVE-2026-40313: PraisonAI Information Disclosure 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