CVE-2026-49959 Details
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.
A remote code execution vulnerability exists in Hermes WebUI versions prior to 0.51.311. This issue allows authenticated attackers to execute arbitrary commands by injecting malicious executable Git configuration into a workspace repository's .git/config file. The vulnerability can be exploited through Git subprocess calls in api/workspace_git.py, using 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 like GIT_SSH_COMMAND. This exploitation leads to unauthorized command execution on the host running Hermes WebUI.
Users can update to Hermes WebUI version 0.51.311 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 9, 2026CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nesquena/hermes-webui/commit/938ac9f55b53def1eefb48c4c42dabaf9c22e99c | [email protected] | Source CodeVendor |
| https://github.com/nesquena/hermes-webui/pull/3776 | [email protected] | Issue TrackingVendor |
| https://github.com/nesquena/hermes-webui/releases/tag/v0.51.311 | [email protected] | Release NotesVendor |
| https://www.vulncheck.com/advisories/hermes-webui-rce-via-git-configuration-injection | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Hermes WebUI | < 0.51.311 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 9, 2026 | New CVE Received | [email protected] |
Volerion