Technical impact
The WebSocket gateway in nanobot permits a client that holds a legitimate client token to select any existing directory outside the operator‑configured workspace as the conversation root. This bypasses the intended workspace isolation and allows the nanobot agent to read and expose files in that freely chosen directory, provided the files are readable by the service account. The flaw results in unauthorized disclosure of potentially sensitive data, and is classified as an authorization bypass (CWE‑863).
Affected Systems
The vulnerability affects the Nanobot (nanobot‑ai) product from the HKUDS vendor, specifically all releases from version 0.3.5 up to, but not including, 0.4.1.
Risk and Exploitability
With a CVSS score of 7.2 the flaw is considered moderate‑to‑high severity. No EPSS score is available, and the vulnerability is not yet listed in CISA KEV. An attacker who acquires or guesses a valid client token can exploit the WebSocket endpoint remotely to request a directory outside the permitted workspace, achieving unauthorized file read. The impact is limited to files accessible by the nanobot service account, but the confidentiality breach can be significant if sensitive data resides in those directories.