CVE-2026-55743

The shell tool command allowlist in the SecurityPolicy of OpenHuman desktop agent through 0.54.0 (default Supervised security policy) can be bypassed to execute arbitrary OS commands with the privileges of the desktop user.
Configurations

No configuration.

History

26 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) La lista de permitidos de comandos de herramientas de shell en la SecurityPolicy del agente de escritorio de OpenHuman hasta la versión 0.54.0 (política de seguridad supervisada predeterminada) puede ser eludida para ejecutar comandos arbitrarios del sistema operativo con los privilegios del usuario de escritorio. Dos fallos en src/openhuman/security/policy.rs se combinan: (1) is_args_safe() bloquea las banderas de find -exec y -ok, pero no las funcionalmente idénticas -execdir y -okdir, que también ejecutan un comando arbitrario para cada archivo coincidente; y (2) skip_env_assignments() elimina las asignaciones de variables de entorno KEY=value en línea iniciales antes de la validación de la lista de permitidos, por lo que un comando como GIT_EXTERNAL_DIFF=[cmd] git diff se valida como el git diff permitido pero, cuando se ejecuta a través del shell, ejecuta [cmd] a través de los hooks de git impulsados por el entorno (por ejemplo, GIT_EXTERNAL_DIFF o GIT_SSH_COMMAND). Debido a que el sandbox es el límite de confianza principal entre el contenido no confiable procesado por LLM y el sistema operativo anfitrión, un atacante puede lograr la ejecución remota de código a través de la inyección indirecta de prompt: un documento, correo electrónico, evento de calendario o página web maliciosos ingeridos por el agente le instruyen para que ejecute un comando de la lista de permitidos de apariencia benigna, lo que resulta en la ejecución arbitraria de comandos, exfiltración de datos, lectura/escritura arbitraria de archivos y movimiento lateral en la máquina del usuario. El problema se solucionó en el commit 60050aa09a870f53ed7e4cd40ed41fd2860329e7 (lanzado por primera vez en 0.54.22-staging; primera versión estable 0.56.0), que bloquea -execdir/-okdir para find.

10 Aug 2026, 12:17

Type Values Removed Values Added
Summary (en) The shell tool command allowlist in the SecurityPolicy of OpenHuman desktop agent through 0.54.0 (default Supervised security policy) can be bypassed to execute arbitrary OS commands with the privileges of the desktop user. Two flaws in src/openhuman/security/policy.rs combine: (1) is_args_safe() blocks the find flags -exec and -ok but not the functionally identical -execdir and -okdir, which also execute an arbitrary command for each matched file; and (2) skip_env_assignments() strips leading inline KEY=value environment-variable assignments before allowlist validation, so a command such as GIT_EXTERNAL_DIFF=<cmd> git diff is validated as the allowed git diff but, when executed via the shell, runs <cmd> through git's environment-driven hooks (for example GIT_EXTERNAL_DIFF or GIT_SSH_COMMAND). Because the sandbox is the primary trust boundary between untrusted LLM-processed content and the host operating system, an attacker can achieve remote code execution via indirect prompt injection: a malicious document, email, calendar event, or web page ingested by the agent instructs it to run a benign-looking allowlisted command, resulting in arbitrary command execution, data exfiltration, arbitrary file read/write, and lateral movement on the user's machine. The issue was fixed in commit 60050aa09a870f53ed7e4cd40ed41fd2860329e7 (first released in 0.54.22-staging; first stable release 0.56.0), which blocks -execdir/-okdir for find. (en) The shell tool command allowlist in the SecurityPolicy of OpenHuman desktop agent through 0.54.0 (default Supervised security policy) can be bypassed to execute arbitrary OS commands with the privileges of the desktop user.

17 Jun 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-17 15:17

Updated : 2026-10-26 11:10


NVD link : CVE-2026-55743

Mitre link : CVE-2026-55743

CVE.ORG link : CVE-2026-55743


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-184

Incomplete List of Disallowed Inputs