Nanobot WebSocket authorization bypass on workspace roots
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-863.
Summary
Nanobot from 0.3.5 before 0.4.1, a project by HKUDS, has an incorrect authorization flaw (CWE-863) in its WebSocket gateway. A client holding a valid client token can choose 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 the nanobot service account can read, and the attacker needs only a standard client token.
Written with Claude Haiku 5.5 from the sources below · 2026-11-17
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade nanobot to version 0.4.1, which fixes the flaw for HKUDS nanobot.
Written with Claude Haiku 5.5 from the sources below · 2026-11-17
- Fix · CNA nanobot (HKUDS) Fixed in 0.4.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
HKUDS nanobot 0.4.1
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2026-92471 Sandbox escape in nanobot via caller-selected shell executablePriority MEDIUM 49
Timeline
- 2026-11-17 Threatist record created from CVE-2026-121865
References
More HKUDS vulnerabilities
- TI-2026-44237 LightRAG: Missing Authentication for Critical API Functions in Default Configuration CVSS 3.1CRITICAL 9.8
- TI-2026-78721 Missing authentication in HKUDS Vibe-Trading FastAPI server enables RCE CVSS 4.0CRITICAL 9.3
- TI-2026-44184 Improper authentication in HKUDS LightRAG CVSS 4.0CRITICAL 9.3
- TI-2026-26034 Zero-Click Indirect Prompt Injection and Authentication Bypass via Email Polling CVSS 4.0HIGH 8.9
- TI-2026-62432 HKUDS nanobot before 0.3.0 Server-Side Request Forgery via WebFetchTool CVSS 4.0CRITICAL 9.2
- TI-2026-25310 DeepCode 1.2.0 Path Traversal via SPA Catch-All Route in main.py CVSS 4.0HIGH 8.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences