CVE-2026-49959
JSON

8.7high

Hermes WebUI < 0.51.311 RCE via Git Configuration Injection

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.95% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

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.

Affected

Product or packageVersionsReported by
nesquena hermes-webuibefore 0.51.311CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49959 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-49959 changed 2026-07-23Public domain