Skip to main content
EPSS 1.6%top 26%

CVE-2026-19243: OS Command Injection in HKUDS nanobot

0
Medium
VulnerabilityCVE-2026-19243cvecve-2026-19243
Published: 08/07/2026 (08/07/2026, 19:30:13 UTC)
Source: CVE Database V5
Vendor/Project: HKUDS
Product: nanobot

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".

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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/E:P

Affected software

HKUDS

nanobot

Affected versions
=0.2.0=0.2.1
GitHub Actionsmore threats →ai
hkuds/nanobot
pkg:github/hkuds/nanobot
Affected versions
=0.2.0=0.2.1
CPE configurations
cpe:2.3:a:nanobot:nanobot:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/15/2026, 15:09:55 UTC

Technical Analysis

This vulnerability in HKUDS nanobot versions 0.2.0 and 0.2.1 involves improper validation of shell commands in the ExecTool._guard_command and ExecTool._spawn functions within nanobot/agent/tools/shell.py. Attackers can inject OS commands remotely due to insufficient validation of shell command segments, wrappers, comments, or chained commands. The root cause was addressed by implementing validation of every executable shell segment against a configured allowlist. The fix is included starting from version 0.3.0.

Potential Impact

Successful exploitation allows remote attackers to execute arbitrary OS commands on the affected system, potentially leading to unauthorized command execution. The vulnerability is rated medium severity with a CVSS 4.0 score of 5.3. There are no reports of active exploitation in the wild at this time.

Mitigation Recommendations

Upgrade HKUDS nanobot to version 0.3.0 or later, where the vulnerability is fixed by validating all executable shell segments against a configured allowlist. This is the official and recommended remediation. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-08-07T12:06:59.355Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a763509bf8831d5390b0159

Added to database: 08/07/2026, 19:42:01 UTC

Last enriched: 08/15/2026, 15:09:55 UTC

Last updated: 09/21/2026, 22:01:32 UTC

Views: 58

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses