Skip to content
HighVulnerability

CVE-2026-35589: nanobot bridge WebSocket server cross-site WebSocket hijacking

Identifier
CVE-2026-35589
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

nanobot versions prior to 0.1.5 contain a Cross-Site WebSocket Hijacking (CSWSH) flaw in the bridge's WebSocket server in bridge/src/server.ts, an incomplete remediation of CVE-2026-2577. The server does not validate the Origin header during the handshake, and token authentication via BRIDGE_TOKEN is disabled by default, so any website a user visits while the bridge runs can connect to ws://127.0.0.1:3001/ and gain full bridge API access, including hijacking the WhatsApp session, reading incoming messages, stealing authentication QR codes, and sending messages as the user.

Mitigation

Fixed in version 0.1.5.