{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.3.5"
                  },
                  {
                    "fixed": "0.4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "original_tag": "v0.4.1",
                "range": [
                  {
                    "fixed": "3404fe83e22b7b2cb3edae1348ed45dd9b8ad051"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "1bb712d3488915ca4ed9ccc1a93067ff722f5ab9"
            },
            {
              "fixed": "3404fe83e22b7b2cb3edae1348ed45dd9b8ad051"
            }
          ],
          "repo": "https://github.com/hkuds/nanobot",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-hg87-wf6q-3m38"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-121865",
  "modified": "2026-11-17T19:45:18.287968474Z",
  "published": "2026-11-17T08:49:13.562Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Nanobot WebSocket Client Workspace Authorization Bypass"
}