CVE-2026-19245
JSON

4.8medium

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

Severity
4.8medium CVSS:4.0 by VulDB
Exploit likelihood
0.12% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulDB

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

Affected

Product or packageVersionsReported by
HKUDS nanobot0.2.0, 0.2.1
Not affected: 0.3.0
CVE List

All scores

VulDB4.8medium CVSS:4.0CVSS: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
VulDB3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C
VulDB3.3low CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C
VulDB1.7low CVSS:2.0AV:L/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:OF/RC:C

Classification

CWE-200CWE-284

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

Se ha encontrado un fallo en HKUDS nanobot hasta la versión 0.2.1. El elemento afectado es la función ExecTool._prepare_command del archivo nanobot/agent/tools/shell.py del componente Login-shell Environment Gestor. La ejecución de una manipulación puede llevar a una revelación de información. El ataque requiere acceso local. El exploit ha sido publicado y puede ser utilizado. Actualizar a la versión 0.3.0 es suficiente para resolver este problema. Este parche se llama 4525. El componente afectado debería ser actualizado. Múltiples problemas fueron reportados al proyecto. Reaccionaron con un alto nivel de profesionalidad y amabilidad: ’El informe se refiere a archivos de inicio de shell que reintroducen variables de entorno cuando la ejecución de comandos por defecto utiliza un shell de inicio de sesión. El valor predeterminado se cambió para que exec no utilice un shell de inicio de sesión a menos que se solicite explícitamente’.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-19245 changed 2026-08-10CVE Terms of Use
NVDCVE-2026-19245 changed 2026-10-23Public domain