# CVE-2026-35589: nanobot: Cross-Site WebSocket Hijacking in WhatsApp Bridge (CVE-2026-2577 Fix Update)

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-14T22:47:32.837Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-1385
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- HKUDS nanobot: < 0.1.5
- nanobot nanobot: before 0.1.5

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/HKUDS/nanobot/security/advisories/GHSA-v5j3-4q66-58cf> (exploit, vendor-advisory)
- <https://github.com/HKUDS/nanobot/releases/tag/v0.1.5> (product, release-notes)

## Sources

- CVE List: [CVE-2026-35589](https://www.cve.org/CVERecord?id=CVE-2026-35589), CVE Terms of Use, modified 2026-04-15
- NVD: [CVE-2026-35589](https://nvd.nist.gov/vuln/detail/CVE-2026-35589), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-35589 · Whole record: https://cve.day/CVE-2026-35589.json · Rebuilt by cve.day 2026-11-25T22:59:18.806Z
