CVE-2026-72718: aaif-goose goose Code Injection
Vulnerability summary
CVE-2026-72718 is a high (CVSS 7.0) Code Injection vulnerability in aaif-goose goose. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 10-08-2026PublishedVulnerability first disclosed.
- 10-08-2026Last modifiedVulnerability information updated.
Description
goose is general-purpose AI agent that runs on your machine. Prior to 1.44.0, the `goose review` command runs the system `git` executable to gather the diff for review without stripping attacker-controlled Git configuration. A malicious repository whose `.git/config` sets [`core] fsmonitor = <command>` causes Git to execute that command on the host during the index refresh performed by `git diff HEAD`. The command runs before goose contacts a model and without a submitted prompt, model call, tool approval, or trust prompt. The context-gathering Git process is not sandboxed and is outside goose's tool-permission model. Arbitrary commands run with the privileges and environment of the user running goose, allowing file access or modification and exfiltration of environment secrets and provider API keys. The vulnerable Git invocations are built by git_command() in crates/goose-cli/src/commands/review/handler.rs and are used by touched_files() and collect_diff() for `git diff --name-only HEAD` and `git diff HEAD`. This issue is fixed in version 1.44.0.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST7.0HighCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
-0.04 pp
From 0.22% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Aaif-goose1 product
- goose< 1.44.0
1 vendor · 1 product
References
3 links- github.com/aaif-goose/goose/security/advisories/GHSA-r5pp-p5r8-466rX Refsource CONFIRM
- github.com/aaif-goose/goose/releases/tag/v1.44.0X Refsource MISC