CVE-2026-19243: OS Command Injection in HKUDS nanobot
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).
AI Analysis
Technical Summary
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.
CVE-2026-19243: OS Command Injection in HKUDS 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
Affected software
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.