CVE-2026-49959

Hermes WebUI before version 0.51.311 contains a remote code execution vulnerability that allows authenticated attackers to execute arbitrary commands by placing malicious executable Git configuration in a workspace repository's .git/config file. Attackers can exploit Git subprocess invocations in api/workspace_git.py through vectors such as core.fsmonitor during git status, protocol.ext.allow with ext:: remotes during git fetch, credential.helper, core.askPass, core.gitProxy, or inherited environment variables including GIT_SSH_COMMAND to achieve arbitrary command execution on the host running the application.
Configurations

No configuration.

History

23 Jul 2026, 08:10

Type Values Removed Values Added
Summary
  • (es) Hermes WebUI anterior a la versión 0.51.311 contiene una vulnerabilidad de ejecución remota de código que permite a atacantes autenticados ejecutar comandos arbitrarios al colocar una configuración Git ejecutable maliciosa en el archivo .git/config de un repositorio de espacio de trabajo. Los atacantes pueden explotar invocaciones de subprocesos Git en api/workspace_git.py a través de vectores como core.fsmonitor durante git status, protocol.ext.allow con ext:: remotes durante git fetch, credential.helper, core.askPass, core.gitProxy, o variables de entorno heredadas incluyendo GIT_SSH_COMMAND para lograr la ejecución de comandos arbitrarios en el host que ejecuta la aplicación.

09 Jun 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-09 17:17

Updated : 2026-07-23 08:10


NVD link : CVE-2026-49959

Mitre link : CVE-2026-49959

CVE.ORG link : CVE-2026-49959


JSON object : View

Products Affected

No product.

CWE
CWE-78

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