CVE-2026-121864 Details
Description
In nanobot, when sandboxed exec is enabled, the shell executable used to run commands can be selected by the caller and is launched before the sandbox is applied. An attacker who can induce the agent to create an executable in the workspace and select it as the shell can cause that executable to run outside the sandbox (e.g. Linux bubblewrap), with the operating-system permissions of the nanobot process. This issue affects nanobot (nanobot-ai) from 0.2.1 before 0.4.1.
A vulnerability in Nanobot versions 0.2.1 prior to 0.4.1 allows for sandbox escape when the 'exec' tool is used with an agent-selected shell override. The issue arises because the selected shell executable is launched before the sandbox is applied, creating a window for exploitation. An attacker can induce the agent to create an executable in the workspace, select it as the shell, and execute it outside the sandbox with the operating system permissions of the Nanobot process. This vulnerability does not imply root access but provides unsandboxed access to resources available to the 'nanobot' service account.
Users can upgrade to Nanobot version 0.4.1 or later to address this vulnerability. The update process involves using the original installation method, verifying the new version, and restarting the application.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 17, 2026CISA-ADP
Assessed Nov 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/HKUDS/nanobot/releases/tag/v0.4.1 | [email protected] | Release NotesVendor |
| https://github.com/HKUDS/nanobot/security/advisories/GHSA-5v87-m222-qr94 | [email protected] | AdvisoryRemedyVendor |
| https://www.tenable.com/security/research/tra-2026-68 | [email protected] | AdvisoryTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| HKUDS nanobot | >= 0.2.1, < 0.4.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 17, 2026 | CVE Modified | CISA-ADP |
| Nov 17, 2026 | New CVE Received | [email protected] |
Volerion