CVE-2026-19245
published medium CVSS 4.0 · 4.8HKUDS nanobot Login-shell Environment shell.py ExecTool._prepare_command information disclosure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HKUDS | — | nanobot0.2.0 (affected) · 0.2.1 (affected) · 0.3.0 (unaffected) | Version-specific | Not stated | VulDB |
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".
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulDB · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C | — |
| 3.0 | 3.3 | low | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C | — |
| 2.0 | 1.7 | low | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HKUDS | nanobot | 0.2.0 (affected)0.2.1 (affected)0.3.0 (unaffected) | VulDB · cna |
Weaknesses
2- CWE-200 Information Disclosure
- CWE-284 Improper Access Controls
References
9- https://gist.github.com/YLChen-007/b25f3f185478e0b2cd0e727bf5c5ed9b
- https://github.com/HKUDS/nanobot/
- https://github.com/HKUDS/nanobot/issues/4518
- https://github.com/HKUDS/nanobot/pull/4525
- https://github.com/HKUDS/nanobot/releases/tag/v0.3.0
- CVE-2026-19245 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-19245
- Submit #865117 | HKUDS nanobot 0.2.1 Sensitive Information Exposure via Login Shell Startup Files (CWE-200) https://vuldb.com/submit/865117
- VDB-386999 | HKUDS nanobot Login-shell Environment shell.py ExecTool._prepare_command information disclosure https://vuldb.com/vuln/386999
- VDB-386999 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/386999/cti
Provider assertions
2VulDB · cna
HKUDS nanobot Login-shell Environment shell.py ExecTool._prepare_command information disclosure
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a4ccb1172283d158f86c844163717c07103c7518090904f01fb770c68bf4323e
- Ingested
- 23 Sep 2026, 09:03:35 UTC
- Source record
- Official CVE record