{
  "id": "CVE-2026-49959",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-49959",
  "published_at": "2026-06-09T16:46:03.502Z",
  "title": "Hermes WebUI \u003c 0.51.311 RCE via Git Configuration Injection",
  "vendor": "nesquena",
  "product": "hermes-webui",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "nesquena",
        "product": "hermes-webui",
        "ranges": [
          "\u003c 0.51.311"
        ],
        "fixed_in": [
          "0.51.311"
        ]
      }
    ],
    "upgrade": [
      "Upgrade hermes-webui to 0.51.311 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/nesquena/hermes-webui/releases/tag/v0.51.311"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nesquena/hermes-webui/pull/3776"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nesquena/hermes-webui/commit/938ac9f55b53def1eefb48c4c42dabaf9c22e99c"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
