CVE-2026-121865: Nanobot WebSocket Client Workspace Authorization Bypass

Published Nov 17, 2026
·
Updated

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.

Affected Software

1 affected component
pypi/nanobot-ai>=0.3.5<0.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.4.1

Event History

Nov 17, 2026
CVE Published
via MITRE·08:49 AM
Data Sourced
via MITRE·08:49 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

nanobot-ai versions 0.3.5 through versions before 0.4.1 are affected. Exposure requires that a client can connect to the WebSocket gateway with a valid standard client token.

2

What access does an attacker need?

An attacker needs a valid client token; no elevated operator-level access is described. They can select an existing directory outside the configured workspace when creating a new conversation.

3

What data could be exposed?

The agent can read and expose files in the selected directory that are readable by the nanobot service account. Files not readable by that service account are not described as exposed.

4

What should be done if patching cannot happen immediately?

Restrict access to valid client tokens and the WebSocket gateway, and reduce the nanobot service account's filesystem permissions to only the directories it needs. This limits both who can invoke the vulnerable workflow and which files could be read.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203