CVE-2026-49959

Hermes WebUI < 0.51.311 RCE via Git Configuration Injection

Published Jun 9, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Hermes WebUI prior to version 0.51.311 permits an authenticated attacker to execute arbitrary commands on the host by inserting malicious entries into the workspace repository’s .git/config file. The flaw stems from the application’s use of Git subprocess commands such as git status, git fetch, and credential helpers, which honor configuration options like core.fsmonitor, protocol.ext.allow, credential.helper, core.askPass, core.gitProxy, and environment variables such as GIT_SSH_COMMAND. This leads to a command‑execution vulnerability identified as CWE‑78.

Affected Systems

The affected product is Hermes WebUI, provided by nesquena, for all releases earlier than 0.51.311. Any installation that allows users to add code to a workspace repository’s Git configuration is potentially vulnerable.

Risk and Exploitability

The CVSS score of 8.7 reflects a high severity with user interaction required and network leverage. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating that no active exploits are publicly known at this time. The attack requires a legitimate user account with write access to a workspace repository; by crafting a malicious .git/config entry the attacker can exploit Git’s subprocess handling to run arbitrary commands on the application server. Because the flaw is triggered by internal Git configuration rather than external input, the attack surface is limited to authenticated users who can modify a repository’s configuration.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Hermes WebUI to version 0.51.311 or newer, where the Git configuration injection flaw has been addressed.
  • If immediate upgrade is not feasible, audit all workspace repositories and delete any custom Git configuration entries from their .git/config files, ensuring no malicious commands remain.
  • Disable or restrict Git options that enable external command execution for the application, such as core.fsmonitor, protocol.ext.allow, credential.helper, core.askPass, core.gitProxy, and unset environment variables like GIT_SSH_COMMAND for the process that runs Hermes WebUI.

Generated by OpenCVE AI on June 9, 2026 at 20:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Get-hermes
Get-hermes hermes Web Ui
CPEs cpe:2.3:a:get-hermes:hermes_web_ui:*:*:*:*:*:*:*:*
Vendors & Products Get-hermes
Get-hermes hermes Web Ui
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nesquena
Nesquena hermes-webui
Vendors & Products Nesquena
Nesquena hermes-webui
Type Values Removed Values Added
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.
Title Hermes WebUI < 0.51.311 RCE via Git Configuration Injection
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:05 PM
Reserved
Jun 2, 2026, 4:30 PM
Status
Deferred
Published
Jun 9, 2026, 5:17 PM
Modified
Jul 23, 2026, 8:10 AM