Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-19243— HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection

Quick assessment

Affected
HKUDS nanobot
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Data Intelligence Lab@HKU nanobot是Data Intelligence Lab@HKU大学开源的一款机器学习工具。 Data Intelligence Lab@HKU nanobot 0.2.1及之前版本存在命令注入漏洞,该漏洞源于Shell Allowlist Handler组件中nanobot/agent/tools/shell.py文件的ExecTool._guard_command/ExecTool._spawn函数处理不当,可能导致操作系统命令注入。

CVSS 6.3 · Medium EPSS 2.26% · P82

Affected Version Matrix 3

VendorProduct Version RangeStatus
HKUDS nanobot 0.2.0 affected
0.2.1 affected
0.3.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-19243

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection
Source: CVE Program / CVE List V5
Vulnerability Description
A security vulnerability has been detected 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 Shell Allowlist Handler. Such manipulation leads to os command injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 0.3.0 is recommended to address this issue. The name of the patch is 4562. It is advisable to upgrade the affected component. Multiple issues were reported to the project. They reacted with a high level of professionalism and kindness: "These five reports are variants of the same root cause: validation of shell commands containing multiple segments, wrappers, comments, or chained commands. The issue was fixed by validating every executable shell segment against the configured allowlist".
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Data Intelligence Lab@HKU nanobot 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Data Intelligence Lab@HKU nanobot是Data Intelligence Lab@HKU大学开源的一款机器学习工具。 Data Intelligence Lab@HKU nanobot 0.2.1及之前版本存在命令注入漏洞,该漏洞源于Shell Allowlist Handler组件中nanobot/agent/tools/shell.py文件的ExecTool._guard_command/ExecTool._spawn函数处理不当,可能导致操作系统命令注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
HKUDS nanobot 0.2.0 cpe:2.3:a:nanobot:nanobot:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-19243

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-19243

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-19243 (1)

Vendor Advisories for CVE-2026-19243 (3)

Proof of Concept for CVE-2026-19243 (1)

Security Blog Posts for CVE-2026-19243 (1)

News Coverage for CVE-2026-19243 (1)

Other References for CVE-2026-19243 (5)

Same Patch Batch · HKUDS · 2026-08-07 · 5 CVEs total

CVE-2026-61808 9.8 CRITICAL LightRAG: Missing Authentication for Critical API Functions in Default Configuration
CVE-2026-19246 6.3 MEDIUM HKUDS nanobot Provider-returned Image URL image_generation.py _download_image_data_url ser
CVE-2026-19244 4.7 MEDIUM HKUDS nanobot MCP enabledTools Scope mcp.py connect_mcp_servers access control
CVE-2026-19245 3.3 LOW HKUDS nanobot Login-shell Environment shell.py ExecTool._prepare_command information discl

IV. Related Vulnerabilities

V. Comments for CVE-2026-19243

No comments yet


Leave a comment