CVE-2026-19245: Information Disclosure in HKUDS nanobot
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".
AI Analysis
Technical Summary
This vulnerability affects HKUDS nanobot versions 0.2.0 and 0.2.1 in the ExecTool._prepare_command function of the Login-shell Environment Handler. The flaw involves shell startup files reintroducing environment variables when command execution defaults to a login shell, leading to information disclosure. The default behavior was changed in version 0.3.0 so that exec does not use a login shell unless explicitly requested, mitigating the issue. The vulnerability requires local access and has a CVSS 4.8 (medium) score. Exploit code has been published but no known active exploitation in the wild is reported.
Potential Impact
An attacker with local access can exploit this vulnerability to disclose sensitive information due to improper handling of environment variables during command execution in a login shell context. This could lead to leakage of environment data that may assist further attacks or information gathering. The impact is limited to information disclosure and requires local privileges.
Mitigation Recommendations
Upgrade HKUDS nanobot to version 0.3.0 or later, where the default behavior of exec was changed to not use a login shell unless explicitly requested, thereby preventing the reintroduction of environment variables that cause information disclosure. This official fix fully resolves the issue.
CVE-2026-19245: Information Disclosure in HKUDS nanobot
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".
CVSS v4.0
Score 4.8medium
Affected software
HKUDS
nanobot
cpe:2.3:a:nanobot:nanobot:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects HKUDS nanobot versions 0.2.0 and 0.2.1 in the ExecTool._prepare_command function of the Login-shell Environment Handler. The flaw involves shell startup files reintroducing environment variables when command execution defaults to a login shell, leading to information disclosure. The default behavior was changed in version 0.3.0 so that exec does not use a login shell unless explicitly requested, mitigating the issue. The vulnerability requires local access and has a CVSS 4.8 (medium) score. Exploit code has been published but no known active exploitation in the wild is reported.
Potential Impact
An attacker with local access can exploit this vulnerability to disclose sensitive information due to improper handling of environment variables during command execution in a login shell context. This could lead to leakage of environment data that may assist further attacks or information gathering. The impact is limited to information disclosure and requires local privileges.
Mitigation Recommendations
Upgrade HKUDS nanobot to version 0.3.0 or later, where the default behavior of exec was changed to not use a login shell unless explicitly requested, thereby preventing the reintroduction of environment variables that cause information disclosure. This official fix fully resolves the issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-08-07T12:07:40.156Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a764a22bf8831d53929f624
Added to database: 08/07/2026, 21:12:02 UTC
Last enriched: 08/15/2026, 15:33:20 UTC
Last updated: 09/22/2026, 01:52:42 UTC
Views: 61
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.