{"id":"CVE-2026-49959","state":"PUBLISHED","title":"Hermes WebUI < 0.51.311 RCE via Git Configuration Injection","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.","publishedAt":"2026-06-09T16:46:03.502Z","updatedAt":"2026-07-14T21:33:30.700Z","severity":{"score":8.7,"label":"High","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["nesquena hermes-webui"],"affected":[{"vendor":"nesquena","product":"hermes-webui","packageURL":"pkg:github/nesquena/hermes-webui","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"0.51.311","versionType":"semver"}],"repo":"https://github.com/nesquena/hermes-webui"}],"references":["https://github.com/nesquena/hermes-webui/releases/tag/v0.51.311","https://github.com/nesquena/hermes-webui/pull/3776","https://github.com/nesquena/hermes-webui/commit/938ac9f55b53def1eefb48c4c42dabaf9c22e99c","https://www.vulncheck.com/advisories/hermes-webui-rce-via-git-configuration-injection"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49959.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49959","state":"PUBLISHED","datePublished":"2026-06-09T16:46:03.502Z","dateUpdated":"2026-07-14T21:33:30.700Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-02T16:30:15.233Z"},"containers":{"cna":{"title":"Hermes WebUI < 0.51.311 RCE via Git Configuration Injection","descriptions":[{"lang":"en","value":"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":[{"vendor":"nesquena","product":"hermes-webui","packageURL":"pkg:github/nesquena/hermes-webui","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"0.51.311","versionType":"semver"}],"repo":"https://github.com/nesquena/hermes-webui"}],"references":[{"url":"https://github.com/nesquena/hermes-webui/releases/tag/v0.51.311","tags":["release-notes"]},{"url":"https://github.com/nesquena/hermes-webui/pull/3776","tags":["issue-tracking"]},{"url":"https://github.com/nesquena/hermes-webui/commit/938ac9f55b53def1eefb48c4c42dabaf9c22e99c","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/hermes-webui-rce-via-git-configuration-injection","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.7,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"HIGH","baseScore":8.8,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T21:33:30.700Z"},"tags":["x_open-source"],"datePublic":"2026-06-07T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:get-hermes:hermes_web_ui:*:*:*:*:*:*:*:*","versionEndExcluding":"0.51.311"}]}]}],"credits":[{"lang":"en","value":"Chia Min Jun Lennon","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-10T13:49:28.044885Z","id":"CVE-2026-49959","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-10T13:50:27.809Z"}}]}}}