Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
Published: 08/07/2026 (08/07/2026, 19:30:13 UTC)
Source: GCVE Database
Vendor/Project: HKUDS
Product: nanobot

Description

A security vulnerability (CVE-2026-19243) exists in HKUDS nanobot versions up to 0.2.1 in the Shell Allowlist Handler component. The flaw allows remote OS command injection via improper validation of shell commands in the ExecTool._guard_command and ExecTool._spawn functions. The issue is addressed by upgrading to version 0.3.0, which validates each executable shell segment against a configured allowlist. The vulnerability has a CVSS score of 6.3 (medium severity).

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

GitHub Actionsmore threats →ai
hkuds/nanobot
pkg:github/hkuds/nanobot
Affected versions
<0.3.0

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/08/2026, 15:08:54 UTC

Technical Analysis

CVE-2026-19243 is an OS command injection vulnerability in HKUDS nanobot up to version 0.2.1, specifically in the ExecTool._guard_command and ExecTool._spawn functions within nanobot/agent/tools/shell.py. The vulnerability arises from insufficient validation of shell commands containing multiple segments, wrappers, comments, or chained commands, allowing an attacker to remotely execute arbitrary OS commands. The project fixed this by validating every executable shell segment against a configured allowlist. The vulnerability is publicly disclosed and has a CVSS 3.1 base score of 6.3. Upgrading to version 0.3.0, which includes patch 4562, mitigates the issue.

Potential Impact

The vulnerability enables remote attackers to perform OS command injection, potentially leading to partial confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:L/I:L/A:L). This means an attacker could execute arbitrary commands on the affected system remotely, which may result in limited data disclosure, modification, or service disruption.

Mitigation Recommendations

Upgrade HKUDS nanobot to version 0.3.0 or later, which includes the official fix (patch 4562) that validates every executable shell segment against a configured allowlist to prevent command injection. No additional mitigations are specified or required beyond applying this update.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-m259-67hc-p7v5
Osv Schema Version
1.4.0
Aliases
["CVE-2026-19243"]
Ecosystems
[]
Database Specific Severity
LOW
Cvss Version
3.1

Threat ID: 6a774291bf8831d539b0780e

Added to database: 08/08/2026, 14:52:01 UTC

Last enriched: 08/08/2026, 15:08:54 UTC

Last updated: 08/08/2026, 17:40:59 UTC

Views: 2

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