Skip to main content

nanobot EUVDEUVD-2026-77768

| CVE-2026-90808 MEDIUM
Incomplete List of Disallowed Inputs (CWE-184)
2026-09-14 VulDB GHSA-vwc9-2889-5p3f
5.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to nanobot API
  2. Delivery
    Identify an active allow_pattern prefix
  3. Exploit
    Craft payload with allow_pattern before \n
  4. Execution
    Submit to ExecTool._guard_command
  5. Persist
    _split_shell_segments omits \n as delimiter
  6. Impact
    Injected post-newline command executes unchecked on host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

Exploitation requires an authenticated nanobot user (PR:L per CVSS 4.0) with access to the ExecTool interface. The ExecTool must be configured with at least one allow_pattern - without filter patterns the bypass behavior may differ. The attacker must craft a command string whose content before the first \n satisfies an existing allow pattern, functioning as a smuggling prefix. Exploitation is constrained by: (1) mandatory authentication to nanobot, (2) ExecTool must be enabled and pattern-filtered in the deployment, (3) the attacker must know or guess a valid allow_pattern prefix. The \r vector also applies but is functionally equivalent. Backslash-escaped line continuations (\\\n) are intentionally preserved as single segments by the patched logic and are not bypass vectors.

Impact

The CVSS 4.0 score of 5.3 (Medium) with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L is internally consistent with a network-reachable, low-complexity attack requiring authentication - the SSVC confirms automatable is 'no,' suggesting the attacker must know or guess a valid allow_pattern prefix, which adds contextual friction. Real-world risk is bounded primarily by nanobot's niche deployment footprint and the PR:L authentication requirement; even a mid-sized municipal IT team in legnica running nanobot as an AI backend should treat this as a priority patch given that successful exploitation results in unchecked host shell command execution. The 'Information Disclosure' tag from the input metadata understates the impact - the actual effect is shell injection with integrity and availability consequences alongside potential confidentiality exposure. EPSS data is absent from the input, and no KEV listing exists, so widespread automated exploitation is not confirmed.

Exploit ScenarioDerived

An authenticated nanobot API user submits a command such as echo allowlisted\ntouch /tmp/pwned to an ExecTool instance whose allow_patterns include a regex matching echo allowlisted. Because _split_shell_segments() does not split on \n, only the single unsplit string is evaluated - the echo prefix satisfies the allow pattern and the touch command executes on the host unfiltered. A proof-of-concept for this technique is confirmed by SSVC, though its specific public location is not identified in the available references.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 15, 2026

Shell command injection bypass in HKUDS nanobot 0.2.0-0.2.1 allows authenticated users to evade the ExecTool allow/deny pattern filter by embedding newline or carriage-return characters in command strings. The _split_shell_segments() function in shell.py treated only ; and | as command delimiters, so a payload on a subsequent line (e.g., echo allowlisted\nrm -rf /tmp/sensitive) passes the filter entirely unchecked. A proof-of-concept for this technique is confirmed by SSVC, and an upstream patch commit (af582246f141) is available but no tagged release has been confirmed.

RemediationAI

Apply upstream patch commit af582246f141311d574551b7571a517bcc3df750, available at https://github.com/HKUDS/nanobot/commit/af582246f141311d574551b7571a517bcc3df750 and the associated PR at https://github.com/HKUDS/nanobot/pull/5345. A tagged release version incorporating this commit has not been independently confirmed - operators should monitor the HKUDS nanobot repository at https://github.com/HKUDS/nanobot/ for a versioned release and track the advisory at https://vuldb.com/cve/CVE-2026-90808. As an interim workaround, disable ExecTool entirely if shell execution is not required for the deployment's use case; this eliminates the attack surface at the cost of losing shell-command agent capabilities. If ExecTool must remain active, deploy nanobot in a container or restricted OS user context to limit the blast radius of any injected command, and audit configured allow_patterns to ensure they cannot be trivially satisfied by an attacker-controlled prefix.

Affected VersionsENISA

nanobot 0.2.0
nanobot 0.2.1

Affected Packages

euvd nanobot no fix

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 (CPE: cpe:2.3:a:hkuds:nanobot) is an AI agent framework by HKUDS that exposes an ExecTool class enabling AI agents to run host shell commands. The _guard_command method protects this execution by splitting the input command into segments and checking each against configurable allow_patterns and deny_patterns. The segment splitter _split_shell_segments() used character-by-character parsing and emitted a new segment boundary only for ; and |. CWE-184 (Incomplete List of Disallowed Inputs) captures the root cause: POSIX shells also treat \n and \r as command separators, so a newline-delimited second command is never evaluated against the filter. The fix adds both newline characters to the delimiter set while preserving backslash-escaped line continuations as single segments.

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

Vendor (VulDB) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 7.4 HIGH

Authentication required (PR:L); scope changes to host system via shell injection (S:C); all three impacts apply at low severity given typical agent sandboxing.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was determined in HKUDS nanobot up to 0.2.1. Impacted is the function ExecTool._guard_command/ExecTool._spawn of the file nanobot/agent/tools/shell.py of the component ExecTool. This manipulation causes incomplete blacklist. It is possible to initiate the attack remotely. Patch name: af582246f141311d574551b7571a517bcc3df750. Applying a patch is the recommended action to fix this issue.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Rare
niche AI agent research framework, limited production footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-35589 CRITICAL
9.3 Apr 14

Cross-Site WebSocket Hijacking in nanobot personal AI assistant (versions before 0.1.5) allows remote websites to establ

CVE-2026-137463 CRITICAL
9.1 Nov 26

Man-in-the-middle interception of HKUDS nanobot's OpenAI Codex provider traffic in versions 0.1.4 through 0.4.0 can hand

CVE-2026-33654 HIGH
8.9 Mar 27

Remote code execution in nanobot personal AI assistant (versions prior to 0.1.6) allows unauthenticated attackers to exe

CVE-2026-48716 HIGH
8.7 Jun 18

Arbitrary file write in HKUDS Nanobot's WhatsApp bridge (versions 0.1.5.post3 and prior) allows remote unauthenticated a

CVE-2026-121864 HIGH
7.7 Nov 17

Sandbox escape in nanobot-ai 0.2.1 through 0.4.0 allows a low-privileged attacker who can drive the agent to induce crea

CVE-2026-121865 HIGH
7.2 Nov 17

Authenticated workspace boundary escape in nanobot-ai 0.3.5 through 0.4.0 lets a standard WebSocket client holding a val

CVE-2026-49139 HIGH
7.0 Jun 01

Server-side request forgery in Nanobot (HKUDS) prior to 0.2.1 lets unauthenticated remote attackers exfiltrate Microsoft

CVE-2026-90809 MEDIUM
6.9 Sep 14

Argument injection in HKUDS nanobot's ExecTool shell execution guard allows remote unauthenticated attackers to bypass t

CVE-2026-19243 LOW POC
2.1 Aug 07

OS command injection in HKUDS nanobot 0.2.0 and 0.2.1 allows a low-privileged remote attacker to bypass the configured s

CVE-2026-19246 LOW POC
2.1 Aug 07

Server-side request forgery in HKUDS nanobot up to 0.2.1 allows authenticated remote attackers to make the server issue

CVE-2026-19244 LOW POC
2.0 Aug 07

MCP resource and prompt wrappers in HKUDS nanobot 0.2.0 and 0.2.1 bypass operator-defined `enabledTools` access restrict

CVE-2026-19245 LOW POC
1.9 Aug 07

Login-shell environment variable leakage in HKUDS nanobot up to 0.2.1 exposes sensitive environment variables to local l

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy