Skip to content
HighVulnerability

CVE-2026-72718: goose review command execution through malicious repository git config

Identifier
CVE-2026-72718
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

goose versions before 1.44.0 run the system git executable in the `goose review` command to gather diffs without stripping attacker-controlled Git configuration. A malicious repository whose .git/config sets core fsmonitor to a command causes Git to execute that command on the host during `git diff HEAD`, before any model call or trust prompt, with the privileges of the user running goose. The affected invocations are built by git_command() in crates/goose-cli/src/commands/review/handler.rs.

Mitigation

Fixed in 1.44.0.