CVE-2026-19245

LOW

HKUDS nanobot Login-shell Environment shell.py ExecTool._prepare_command information disclosure

Title source: cna
STIX 2.1

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".

References (9)

Core 9
Core References
Vdb Entry, Technical Description vdb-entry technical-description
VDB-386999 | HKUDS nanobot Login-shell Environment shell.py ExecTool._prepare_command information disclosure
https://vuldb.com/vuln/386999
Signature, Permissions Required signature permissions-required
VDB-386999 | CTI Indicators (IOB, IOC, TTP, IOA)
https://vuldb.com/vuln/386999/cti
Third Party Advisory third-party-advisory
CVE-2026-19245 | CVE Analysis and Report
https://vuldb.com/cve/CVE-2026-19245
Third Party Advisory third-party-advisory
Submit #865117 | HKUDS nanobot 0.2.1 Sensitive Information Exposure via Login Shell Startup Files (CWE-200)
https://vuldb.com/submit/865117
Issue Tracking issue-tracking
https://github.com/HKUDS/nanobot/issues/4518
Patch issue-tracking patch
https://github.com/HKUDS/nanobot/pull/4525

Scores

CVSS v3 3.3
EPSS 0.0012
EPSS Percentile 2.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Details

CWE
CWE-200 CWE-284
Status published
Products (3)
HKUDS/nanobot 0.2.0
HKUDS/nanobot 0.2.1
HKUDS/nanobot 0.3.0
Published Aug 07, 2026
Tracked Since Aug 08, 2026