PT-2026-32960 · Nanobot · Nanobot
Ylchen-007
·
Published
2026-04-14
·
Updated
2026-04-16
·
CVE-2026-35589
CVSS v3.1
9.3
Critical
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
nanobot versions prior to 0.1.5
Description
A Cross-Site WebSocket Hijacking (CSWSH) issue exists in the bridge's WebSocket server within
bridge/src/server.ts. The server does not validate the Origin header during the WebSocket handshake, and token authentication via the BRIDGE TOKEN parameter is disabled by default. Since browsers do not enforce the Same-Origin Policy on WebSockets unless the server explicitly denies cross-origin connections, any website visited by a user can establish a connection to the endpoint 'ws://127.0.0.1:3001/'. This allows an attacker to gain full access to the bridge API, hijack the WhatsApp session, read incoming messages, steal authentication QR codes, and send messages on behalf of the user.Recommendations
Update to version 0.1.5.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nanobot