CVE-2026-121865

Nanobot WebSocket Client Workspace Authorization Bypass

Published Nov 17, 2026 CVSS 4.0 · 7.2 High EPSS n/a KEV · Not listed
Description
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.

This issue affects nanobot (nanobot-ai) from 0.3.5 before 0.4.1.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to nanobot v0.4.1 or later which removes the directory selection flaw.
  • Restrict or disable the WebSocket client feature for untrusted users and enforce strict path validation on the server side.
  • Configure the nanobot service account with the minimum file system permissions required for normal operation to limit the data that can be exposed.

Generated by OpenCVE AI on November 17, 2026 at 10:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Hkuds
Hkuds nanobot
Vendors & Products Hkuds
Hkuds nanobot
Type Values Removed Values Added
Description 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. This issue affects nanobot (nanobot-ai) from 0.3.5 before 0.4.1.
Title Nanobot WebSocket Client Workspace Authorization Bypass
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L'}

cvssV4_0

{'score': 7.2, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
tenable
Published
Updated
Nov 17, 2026, 8:49 AM
Reserved
Nov 4, 2026, 9:50 AM
Status
Deferred
Published
Nov 17, 2026, 9:17 AM
Modified
Nov 17, 2026, 9:17 AM