CVE-2026-19245 HKUDS nanobot Login-shell Environment shell.py ExecTool._prepare_command information disclosure
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
A flaw has been found in HKUDS nanobot up to 0.2.1. The impacted element is the function ExecTool._prepare_command of the file nanobot/agent/tools/shell.py of the component Login-shell Environment Handler. Executing a manipulation can lead to information disclosure. The attack requires local access. The exploit has been published and may be used. Upgrading to version 0.3.0 is sufficient to resolve this issue. This patch is called 4525. The affected component should be upgraded. Multiple issues were reported to the project. They reacted with a high level of professionalism and kindness: "The report concerns shell startup files reintroducing environment variables when command execution defaults to a login shell. The default was changed so exec does not use a login shell unless explicitly requested".
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nanobot | = 0.2.0; = 0.2.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nanobot | = 0.2.0 | No fix listed |
| nanobot | = 0.2.1 | No fix listed |
References
- VDB-386999 | HKUDS nanobot Login-shell Environment shell.py ExecTool._prepare_command information disclosure technical-description vdb-entry
- VDB-386999 | CTI Indicators (IOB, IOC, TTP, IOA) permissions-required signature
- CVE-2026-19245 | CVE Analysis and Report third-party-advisory
- Submit #865117 | HKUDS nanobot 0.2.1 Sensitive Information Exposure via Login Shell Startup Files (CWE-200) third-party-advisory
- github.com issue-tracking
- gist.github.com exploit
- github.com issue-tracking patch
- github.com patch
- github.com product
- ENISA EUVD EUVD-2026-54676 third-party-advisory