Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain low-privilege ability to drive agent
-
DeliveryInduce agent to write executable in workspace
-
ExploitSelect that executable as the exec shell
-
ExecutionShell launches before sandbox is applied
-
ImpactCode runs outside sandbox with nanobot process permissions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires that sandboxed exec be enabled in nanobot, and that the attacker can induce the agent to (1) create an executable file in the workspace and (2) select that file as the shell used to run commands; the reported runtime validation used Linux bubblewrap. Limiting factors: the attacker needs low-privilege ability to drive the agent (PR:L, not fully unauthenticated), success depends on the agent actually carrying out the required multi-step tool actions (reflected in AC:H), and the resulting code execution is bounded to the nanobot process's operating-system permissions - explicitly not root access. The complete fix is upgrading nanobot-ai to 0.4.1 or later and restarting the gateway, which launches the sandbox before the selected shell. |
| Impact | The input reports a CVSS 4.0 base score of 7.7 (High) with vector AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N. The network vector is nominal: although AV:N is set, exploitation is not a direct remote request but requires an attacker to manipulate the nanobot agent into performing specific tool actions (writing an executable into the workspace and selecting it as the shell), which is reflected in AC:H and the advisory's note that 'exploitation through chat also depends on the agent carrying out the required tool actions.' PR:L indicates the attacker needs some authenticated/low-privilege ability to drive the agent. No EPSS score and no CISA KEV listing are provided, so exploitation probability cannot be quantified and there is no evidence of active exploitation; the vuln.today Decision label is 'this_week,' not act_now or emergency. Tenable Research reported the issue and a public technical write-up (TRA-2026-68) plus a GHSA advisory exist, but the input does not confirm working exploit code. Net assessment: a genuine sandbox-escape vulnerability worth timely patching, but the multi-step agent-manipulation precondition (AC:H), low-privilege requirement, and impact bounded to the nanobot process's OS permissions (explicitly 'not root') make this a real but non-emergency priority rather than a mass-exploitable remote RCE. |
| Exploit ScenarioDerived | An attacker who can influence the nanobot agent induces it to write a malicious executable into the agent workspace and then select that file as the shell used for sandboxed exec. Because the shell is launched before the sandbox (e.g. Linux bubblewrap) is applied, the executable runs outside the sandbox with the nanobot process's OS permissions. A Tenable research write-up and GHSA advisory describe the issue, but no verified working exploit code is confirmed in the input, and the high attack complexity means the agent must be coaxed through several tool actions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 17, 2026
Sandbox escape in nanobot-ai 0.2.1 through 0.4.0 allows a low-privileged attacker who can drive the agent to induce creation of an executable in the workspace and select it as the shell; because the selected shell is launched before the bubblewrap sandbox, that executable runs with the nanobot process's operating-system permissions rather than inside the sandbox. Exploitation requires sandboxed exec to be enabled and depends on the agent carrying out the required tool actions, which is reflected in the high attack complexity; the advisory explicitly notes this does not imply root access. No public exploit code is identified in the available data, and the vendor-released fix is nanobot-ai 0.4.1, which starts the sandbox before the selected shell.
Earlier versions of this analysis (1)
Sandbox escape in nanobot (nanobot-ai) 0.2.1 through 0.4.0 allows an authenticated, low-privileged attacker to run code outside the bubblewrap sandbox by inducing the agent to create an executable in the workspace and designate it as the shell used for sandboxed exec, which the agent launches before the sandbox is applied. Resulting code executes with the operating-system permissions of the nanobot process - bounded impact that does not imply root - and the CVE carries a CVSS 3.1 score of 8.5 (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H) with scope change. Exploitation is conditional on the non-default sandboxed exec feature being enabled and on the agent actually performing the required tool actions, so this is a this-week priority rather than a drive-by critical; no public exploit code has been identified at time of analysis, the issue is not in CISA KEV, and no EPSS score was supplied. Fixed in 0.4.1, credited to Tenable Research.
RemediationAI
Upgrade nanobot-ai to 0.4.1 or later using the existing installation method (installer, package manager, or container workflow) and restart the gateway; the vendor states this fix launches the sandbox before the selected shell, completing the remediation. The release notes advise stopping affected processes and backing up configuration and conversations before an external upgrade, and note that 0.3.5 can upgrade directly to 0.4.1 without an intermediate 0.4.0 installation. After upgrading, verify the running version, verify old conversations and a new message, and perform another restart as described in the updating documentation. No alternative mitigation is specified in the available advisory; primary advisory: https://github.com/HKUDS/nanobot/security/advisories/GHSA-5v87-m222-qr94 and release: https://github.com/HKUDS/nanobot/releases/tag/v0.4.1.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
nanobot is an AI agent platform distributed as the pip package nanobot-ai and identified in CPE data as cpe:2.3:a:hkuds:nanobot. The flaw is CWE-73 (External Control of File Name or Path): when sandboxed exec is enabled, the caller can choose the shell executable used to run commands, and that executable is launched before the sandbox is applied. In the reported Linux bubblewrap validation, this ordering lets an executable placed in the workspace run under the nanobot process's OS permissions instead of within the sandbox. The trigger is not a generic memory-safety issue; exploitation relies on inducing the agent to create the executable and then select it as the shell, and chat-based exploitation also depends on the agent performing those tool actions. The fix in 0.4.1 reverses the ordering by launching the sandbox before the selected shell.
Know when Nanobot gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Multi-step agent manipulation gives AC:H and the low-privilege caller gives PR:L; code execution with the nanobot process's permissions yields C/I/A High, bounded to that process authority so S:U.
Primary rating from Vendor (tenable).
CVSS VectorVendor: tenable
Lifecycle Timeline
4DescriptionCVE.org
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.
Technical POC Analysis
Evidence base: vendor advisory GHSA-5v87-m222-qr94 only.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity sandbox escape in nanobot-ai versions 0.2.1 through 0.4.0 allows a low-privileged attacker who can drive the agent to execute arbitrary code with the nanobot process's OS permissions. This undermines the intended isolation for organizations using sandboxed exec, affecting engineering and AI platform teams relying on the agent, and warrants leadership attention due to potential unauthorized access to host resources.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Cross-Site WebSocket Hijacking in nanobot personal AI assistant (versions before 0.1.5) allows remote websites to establ
Man-in-the-middle interception of HKUDS nanobot's OpenAI Codex provider traffic in versions 0.1.4 through 0.4.0 can hand
Remote code execution in nanobot personal AI assistant (versions prior to 0.1.6) allows unauthenticated attackers to exe
Arbitrary file write in HKUDS Nanobot's WhatsApp bridge (versions 0.1.5.post3 and prior) allows remote unauthenticated a
Authenticated workspace boundary escape in nanobot-ai 0.3.5 through 0.4.0 lets a standard WebSocket client holding a val
Server-side request forgery in Nanobot (HKUDS) prior to 0.2.1 lets unauthenticated remote attackers exfiltrate Microsoft
Argument injection in HKUDS nanobot's ExecTool shell execution guard allows remote unauthenticated attackers to bypass t
OS command injection in HKUDS nanobot 0.2.0 and 0.2.1 allows a low-privileged remote attacker to bypass the configured s
Server-side request forgery in HKUDS nanobot up to 0.2.1 allows authenticated remote attackers to make the server issue
MCP resource and prompt wrappers in HKUDS nanobot 0.2.0 and 0.2.1 bypass operator-defined `enabledTools` access restrict
Login-shell environment variable leakage in HKUDS nanobot up to 0.2.1 exposes sensitive environment variables to local l
Nanobot's Matrix channel media download handler exhausts process memory and bandwidth when authenticated room members su
EUVD-2026-126943
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB