CVE-2026-35589

nanobot is a personal AI assistant. Versions prior to 0.1.5 contain a Cross-Site WebSocket Hijacking (CSWSH) vulnerability exists in the bridge's WebSocket server in bridge/src/server.ts, resulting from an incomplete remediation of 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. Because browsers do not enforce the Same-Origin Policy on WebSockets unless the server explicitly denies cross-origin connections, any website visited by a user running the bridge can establish a WebSocket connection to ws://127.0.0.1:3001/ and gain full access to the bridge API. This allows an attacker to hijack the WhatsApp session, read incoming messages, steal authentication QR codes, and send messages on behalf of the user. This issue has bee fixed in version 0.1.5.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nanobot:nanobot:*:*:*:*:*:python:*:*

History

23 Apr 2026, 17:39

Type Values Removed Values Added
First Time Nanobot
Nanobot nanobot
References () https://github.com/HKUDS/nanobot/releases/tag/v0.1.5 - () https://github.com/HKUDS/nanobot/releases/tag/v0.1.5 - Product, Release Notes
References () https://github.com/HKUDS/nanobot/security/advisories/GHSA-v5j3-4q66-58cf - () https://github.com/HKUDS/nanobot/security/advisories/GHSA-v5j3-4q66-58cf - Exploit, Vendor Advisory
CPE cpe:2.3:a:nanobot:nanobot:*:*:*:*:*:python:*:*

15 Apr 2026, 17:17

Type Values Removed Values Added
References () https://github.com/HKUDS/nanobot/security/advisories/GHSA-v5j3-4q66-58cf - () https://github.com/HKUDS/nanobot/security/advisories/GHSA-v5j3-4q66-58cf -

14 Apr 2026, 23:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-14 23:16

Updated : 2026-06-17 10:40


NVD link : CVE-2026-35589

Mitre link : CVE-2026-35589

CVE.ORG link : CVE-2026-35589


JSON object : View

Products Affected

nanobot

  • nanobot
CWE
CWE-1385

Missing Origin Validation in WebSockets