CVE-2026-71963 PUBLISHED

Hermes Agent 0.18.2 - 0.21.0 RCE via git core.fsmonitor Config Injection

Assigner: VulnCheck
Reserved: 08.08.2026 Published: 03.09.2026 Updated: 03.09.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.6

Product Status

Vendor NousResearch
Product hermes-agent
Versions Default: affected
  • affected from 0.18.2 to 0.21.0 (incl.)
  • Version f6234d00c5d59450adea1d7edd30ad3859375c79 is unaffected

Credits

  • Francisco Rosales finder

References

Problem Types

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