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

Published Aug 7, 2026
·
Updated

A security vulnerability has been detected in HKUDS nanobot up to 0.2.1. Impacted is the function ExecTool.guardcommand/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".

Affected Software

1 affected component
HKUDS nanobot<=0.2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade HKUDS nanobot Shell Allowlist Handler (nanobot/agent/tools/shell.py) to a version that resolves this vulnerability.

    Fixed in 0.3.0Patch 4562

Event History

Aug 7, 2026
CVE Published
via MITRE·07:30 PM
Data Sourced
via MITRE·07:30 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2026-19243?

CVE-2026-19243 is a security vulnerability found in HKUDS nanobot up to version 0.2.1, allowing for OS command injection through the Shell Allowlist functionality.

2

What is the severity of CVE-2026-19243?

The severity of CVE-2026-19243 is classified as medium with a score of 6.3.

3

How do I fix CVE-2026-19243?

To mitigate CVE-2026-19243, upgrade HKUDS nanobot to version 0.2.2 or later where this vulnerability is patched.

4

What are the impacts of CVE-2026-19243?

Exploitation of CVE-2026-19243 can lead to unauthorized OS command execution via the ExecTool._guard_command and ExecTool._spawn functions.

5

Who is affected by CVE-2026-19243?

Users and implementations of HKUDS nanobot version 0.2.1 and earlier are affected by CVE-2026-19243.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203