CVE-2026-19245
Published: Fri, 07 Aug 2026 21:17
Summary
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 Han
Details
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".
Are YOU affected by CVE-2026-19245?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether CVE-2026-19245 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
References
- 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
- https://vuldb.com/cve/CVE-2026-19245
- https://vuldb.com/submit/865117
- https://vuldb.com/vuln/386999
- https://vuldb.com/vuln/386999/cti
StackPatch runs this match against YOUR installed packages every hour
Free (3 servers) / from $9/mo (14-day free trial) / Solo $9/mo / Pro $29/mo / Team $79/mo. Indie pricing.