Arbitrary Command Execution in Goose AI Agent Affects Multiple User Environments
CVE-2026-72718

7HIGH

Key Information:

Vendor

Aaif-goose

Status
Vendor
CVE Published:
10 August 2026

What is CVE-2026-72718?

The Goose AI agent, a versatile general-purpose tool, contains a vulnerability that enables arbitrary command execution on the host machine. This occurs when the goose review command interacts with a malicious Git repository that has an attacker-controlled .git/config file. Specifically, configurations that set core.fsmonitor to a command can lead to unapproved execution during the execution of commands such as git diff HEAD. As this interaction happens prior to any prompts for user input or permissions, it poses a significant risk, potentially allowing attackers to access, modify files, and exfiltrate sensitive environment variables and API keys. This vulnerability has been addressed in version 1.44.0.

Affected Version(s)

goose < 1.44.0

References

CVSS V4

Score:
7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.