CVE-2026-19245HKUDS nanobot Login-shell Environment shell.py ExecTool._prepare_command information disclosure
Updated under an hour ago ()
Does this affect you?
It affects HKUDS nanobot. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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".
- CVSS
- 3.3 LOW (v3.1, 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
- Weakness (CWE)
- CWE-200, CWE-284
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- VulDB
- NVD analysis
- Deferred
- Record last updated
- Aug 10, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
HKUDS nanobot nanobot:nanobot | 0.2.0; 0.2.1; 0.3.0 not affected | CNA record |
References
- https://vuldb.com/vuln/386999vdb-entry, technical-description
- https://vuldb.com/vuln/386999/ctisignature, permissions-required
- https://vuldb.com/cve/CVE-2026-19245third-party-advisory
- https://vuldb.com/submit/865117third-party-advisory
- https://github.com/HKUDS/nanobot/issues/4518issue-tracking
- https://gist.github.com/YLChen-007/b25f3f185478e0b2cd0e727bf5c5ed9bexploit
- https://github.com/HKUDS/nanobot/pull/4525issue-tracking, patch
- https://github.com/HKUDS/nanobot/releases/tag/v0.3.0patch
- https://github.com/HKUDS/nanobot/product
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.