RCE in Nesquena Hermes-Webui
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.009, 61.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nesquena Hermes-Webui — versions 0
Weakness classification (CWE)
References
- github.com/nesquena/hermes-webui/commit/938ac9f55b53def1eefb48c4c42dabaf9c22e99c (patch)
- github.com/nesquena/hermes-webui/pull/3776 (issue-tracking, patch)
- hermes-webui 0.51.311 Release Notes (release-notes)
- www.vulncheck.com/advisories/hermes-webui-rce-via-git-configuration-injection (third-party-advisory)