---
id: CVE-2026-71963
title: >-
  Hermes Agent 0.18.2 through 0.21.0, fixed in commit f6234d0, contains a remote
  code execution vulnerability that allows attackers to execute arbitrary OS
  commands by supplying a malicious repository with a crafted .git/config that
  sets c…
summary: >-
  Hermes Agent 0.18.2 through 0.21.0, fixed in commit f6234d0, contains a remote
  code execution vulnerability that allows attackers to execute arbitrary OS
  commands by supplying a malicious repository with a crafted .git/config that
  sets c…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
published: '2026-09-03'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:18:59.270'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-71963'
references:
  - url: >-
      https://github.com/NousResearch/hermes-agent/commit/f6234d00c5d59450adea1d7edd30ad3859375c79
    label: disclosure@vulncheck.com
  - url: 'https://github.com/NousResearch/hermes-agent/pull/101483'
    label: disclosure@vulncheck.com
  - url: 'https://www.manifold.security/blog/ai-coding-agents-git-hijack'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/hermes-agent-rce-via-git-core-fsmonitor-config-injection
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00858
epssPercentile: 0.56629
ingestedAt: '2026-09-08T21:11:12.291Z'
---

## Overview

Hermes Agent 0.18.2 through 0.21.0, fixed in commit f6234d0, contains a remote code execution vulnerability that allows attackers to execute arbitrary OS commands by supplying a malicious repository with a crafted .git/config that sets core.fsmonitor to an attacker-controlled command. When a user opens the malicious repository and sends any message, the agent triggers a git status index refresh which executes the injected command in the user's process context, exposing the full environment including configured provider API keys.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
