CVE-2026-19245
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".
Weakness
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-284: Improper Access Control
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-08-10 |
Timeline
- 2026-08-07Published by the CNA20:45 UTC
- 2026-08-10CISA SSVC decision recorded3 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| hkuds nanobot | 0.2.0no fix listed0.2.1no fix listed | not listednot listed |
| nanobot nanobot |
References
- https://github.com/HKUDS/nanobot/pull/4525
- https://github.com/HKUDS/nanobot/releases/tag/v0.3.0
- https://gist.github.com/YLChen-007/b25f3f185478e0b2cd0e727bf5c5ed9b
- https://github.com/HKUDS/nanobot/
- https://github.com/HKUDS/nanobot/issues/4518
- https://vuldb.com/cve/CVE-2026-19245
- https://vuldb.com/submit/865117
- https://vuldb.com/vuln/386999
- https://vuldb.com/vuln/386999/cti
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-19245'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-19245'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-19245'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-19245'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).