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

CVE-2026-35589: nanobot AI Assistant CSRF Vulnerability

CVE-2026-35589 is a Cross-Site WebSocket Hijacking flaw in nanobot's bridge WebSocket server that allows attackers to hijack WhatsApp sessions and steal messages. This article covers technical details, affected versions, and patches.

Published: April 17, 2026

CVE-2026-35589 Overview

CVE-2026-35589 is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability in nanobot, a personal AI assistant application. This vulnerability exists in the bridge's WebSocket server located in bridge/src/server.ts and represents an incomplete remediation of a previous vulnerability (CVE-2026-2577). The original fix changed the binding from 0.0.0.0 to 127.0.0.1 and added an optional BRIDGE_TOKEN parameter, but token authentication is disabled by default and the server does not validate the Origin header during the WebSocket handshake.

Critical Impact

Any website visited by a user running the nanobot bridge can establish a WebSocket connection to ws://127.0.0.1:3001/ and gain full access to the bridge API, allowing attackers to hijack WhatsApp sessions, read incoming messages, steal authentication QR codes, and send messages on behalf of the user.

Affected Products

  • nanobot versions prior to 0.1.5
  • nanobot bridge WebSocket server component (bridge/src/server.ts)
  • Users with active WhatsApp sessions through nanobot bridge

Discovery Timeline

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

Technical Details for CVE-2026-35589

Vulnerability Analysis

This Cross-Site WebSocket Hijacking vulnerability stems from an incomplete security fix for CVE-2026-2577. While the original remediation addressed the network binding issue by restricting the WebSocket server to localhost (127.0.0.1), two critical security controls were left inadequate: token authentication remains disabled by default, and Origin header validation is absent during the WebSocket handshake process.

Browsers do not enforce the Same-Origin Policy on WebSocket connections unless the server explicitly denies cross-origin connections. Without Origin header validation, the nanobot bridge WebSocket server accepts connections from any web origin, including malicious websites. This architectural flaw allows attackers to leverage a victim's browser as a proxy to access the locally-bound WebSocket service.

The vulnerability is classified under CWE-1385 (Missing Origin Validation in WebSockets), highlighting the specific failure to implement proper cross-origin controls in WebSocket implementations.

Root Cause

The root cause is the missing Origin header validation during the WebSocket handshake in bridge/src/server.ts. Combined with the fact that BRIDGE_TOKEN authentication is optional and disabled by default, any website can establish a connection to the local WebSocket server running on port 3001. The assumption that binding to localhost provides sufficient protection is flawed, as browser-based attacks can still reach localhost services through the user's own browser.

Attack Vector

The attack requires user interaction in the form of visiting a malicious website while the nanobot bridge is running. The attacker hosts a webpage containing malicious JavaScript that attempts to establish a WebSocket connection to ws://127.0.0.1:3001/. Since the victim's browser originates the request and the server performs no Origin validation, the connection succeeds. Once connected, the attacker gains full access to the bridge API, enabling them to:

  • Hijack the active WhatsApp session
  • Read incoming and potentially outgoing messages
  • Capture authentication QR codes for session persistence
  • Send messages impersonating the victim

The vulnerability is exploited remotely through the network, though it requires the victim to visit a malicious page while the vulnerable service is running locally.

Detection Methods for CVE-2026-35589

Indicators of Compromise

  • Unexpected WebSocket connections to 127.0.0.1:3001 from browser processes
  • Unusual cross-origin WebSocket handshake attempts with non-matching Origin headers
  • Unexplained WhatsApp messages sent from the user's account
  • Suspicious QR code authentication requests or session duplications

Detection Strategies

  • Monitor local network traffic for WebSocket connections to port 3001 originating from browser processes
  • Implement browser-level monitoring for JavaScript initiating connections to localhost services
  • Review nanobot bridge logs for connection attempts from unexpected origins
  • Deploy endpoint detection rules for CSWSH attack patterns targeting local WebSocket services

Monitoring Recommendations

  • Enable verbose logging on the nanobot bridge to capture connection origin information
  • Set up alerts for multiple rapid WebSocket connection attempts to local services
  • Monitor browser process network activity for connections to localhost WebSocket endpoints
  • Implement user behavior analytics to detect anomalous messaging patterns through WhatsApp

How to Mitigate CVE-2026-35589

Immediate Actions Required

  • Upgrade nanobot to version 0.1.5 or later immediately
  • If unable to upgrade, enable the BRIDGE_TOKEN parameter and configure a strong authentication token
  • Temporarily disable the nanobot bridge when not actively in use
  • Avoid visiting untrusted websites while the nanobot bridge is running

Patch Information

The vulnerability has been fixed in nanobot version 0.1.5. Users should update to this version or later to receive the security patch. The fix implements proper Origin header validation during the WebSocket handshake to prevent cross-origin connections from unauthorized sources.

For more information, refer to the GitHub Nanobot Release v0.1.5 and the GitHub Security Advisory GHSA-v5j3-4q66-58cf.

Workarounds

  • Enable the BRIDGE_TOKEN environment variable with a strong, randomly generated token value
  • Use a local firewall to restrict access to port 3001, allowing only trusted applications
  • Run the nanobot bridge in an isolated environment or container with restricted network access
  • Consider using browser extensions that block JavaScript from making connections to localhost services
bash
# Configuration example: Enable token authentication for nanobot bridge
export BRIDGE_TOKEN="your-strong-random-token-here"

# Alternatively, restrict port access using iptables (Linux)
iptables -A INPUT -p tcp --dport 3001 -s 127.0.0.1 -j ACCEPT
iptables -A INPUT -p tcp --dport 3001 -j DROP

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechNanobot

  • SeverityHIGH

  • CVSS Score8.0

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-1385
  • Technical References
  • GitHub Nanobot Release v0.1.5

  • GitHub Security Advisory GHSA-v5j3-4q66-58cf
  • Related CVEs
  • CVE-2026-33654: Nanobot AI Assistant RCE Vulnerability

  • CVE-2026-2577: Nanobot WhatsApp Bridge 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