{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-35589 exists.","fix":"No fix has been published for CVE-2026-35589 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-35589 is a high-severity vulnerability in HKUDS nanobot, published on 14 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-35589 and fix it if it is affected.\n\nWhat it is: CVE-2026-35589 is a high-severity vulnerability in HKUDS nanobot, published on 14 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-35589 exists.\n\nAffected product: HKUDS nanobot. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-35589/ (Markdown: https://insights.sbomify.com/CVE-2026-35589/index.md)","id":"CVE-2026-35589","markdown":"https://insights.sbomify.com/CVE-2026-35589/index.md","name":"CVE-2026-35589","record":{"aliases":["GHSA-v5j3-4q66-58cf"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["account_takeover","data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"AI assistant bridge","requires_auth":"none","summary":"Attackers can hijack WhatsApp sessions and send messages via WebSocket due to missing Origin validation in the nanobot AI assistant bridge.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nanobot","vendor":"nanobot"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-1385","name":"Missing Origin Validation in WebSockets"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"nanobot: Cross-Site WebSocket Hijacking in WhatsApp Bridge (CVE-2026-2577 Fix Update)","id":"CVE-2026-35589","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"csrf","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Possible out-of-bounds read leading to crash when decoding well-crafted EXIF metadata","id":"CVE-2026-35590"},"packages":[],"prev":{"headline":"Glances has CQL Injection in its Cassandra Export Module via Unsanitized Config Values","id":"CVE-2026-35588"},"products":["nanobot"],"published":"2026-04-14","related":[{"cvss_score":8.9,"headline":"Zero-Click Indirect Prompt Injection and Authentication Bypass via Email Polling","id":"CVE-2026-33654","kev_date_added":null,"published":"2026-03-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-15","vendors":["HKUDS"]},"summary":"Attackers can hijack WhatsApp sessions and send messages via WebSocket due to missing Origin validation in the nanobot AI assistant bridge.","url":"https://insights.sbomify.com/CVE-2026-35589/"}