{"id":"CVE-2026-121865","summary":"Nanobot WebSocket Client Workspace Authorization Bypass","details":"In nanobot, the WebSocket gateway allows a standard client holding a valid client token to select an existing directory outside the operator-configured workspace as the root of a new conversation. The agent can then read and expose files in that directory that are readable by the nanobot service account.\n\nThis issue affects nanobot (nanobot-ai) from 0.3.5 before 0.4.1.","aliases":["GHSA-hg87-wf6q-3m38"],"modified":"2026-11-17T19:45:18.287968474Z","published":"2026-11-17T08:49:13.562Z","database_specific":{"cna_assigner":"tenable","cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121865.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121865.json"},{"type":"WEB","url":"https://github.com/HKUDS/nanobot/releases/tag/v0.4.1"},{"type":"ADVISORY","url":"https://github.com/HKUDS/nanobot/security/advisories/GHSA-hg87-wf6q-3m38"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121865"},{"type":"WEB","url":"https://pypi.org"},{"type":"WEB","url":"https://www.tenable.com/security/research/tra-2026-69"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hkuds/nanobot","events":[{"introduced":"1bb712d3488915ca4ed9ccc1a93067ff722f5ab9"},{"fixed":"3404fe83e22b7b2cb3edae1348ed45dd9b8ad051"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0.3.5"},{"fixed":"0.4.1"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"3404fe83e22b7b2cb3edae1348ed45dd9b8ad051"}],"source":"REFERENCES_TAG","original_tag":"v0.4.1"}]}}],"versions":["v0.4.0","v0.3.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121865.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N"}]}