Skip to main content
EPSS 0.1%top 98%

CVE-2026-19245: Information Disclosure in HKUDS nanobot

0
Medium
Published: 08/07/2026 (08/07/2026, 20:45:12 UTC)
Source: CVE Database V5
Vendor/Project: HKUDS
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

HKUDS

nanobot

Affected versions
=0.2.0=0.2.1
GitHub Actionsmore threats →ai
hkuds/nanobot
pkg:github/hkuds/nanobot
Affected versions
=0.2.0=0.2.1
CPE configurations
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

AILast updated: 08/15/2026, 15:33:20 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses