CVE-2026-72718
published high CVSS 4.0 · 7.0goose: Arbitrary command execution in goose CLI via `goose review` via git core.fsmonitor
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| aaif-goose | — | goose< 1.44.0 | Affected | Not stated | GitHub_M |
| Red Hat Enterprise Linux | RHEL-10 | gooseaarch64 | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-10 | gooseppc64le | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-10 | gooses390x | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-10 | goosesrc | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-10 | goosex86_64 | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-9 | gooseaarch64 | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
| Red Hat Enterprise Linux | RHEL-9 | gooseppc64le | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
Show 19 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | gooses390x | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
| Red Hat Enterprise Linux | RHEL-9 | goosesrc | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
| Red Hat Enterprise Linux | RHEL-9 | goosex86_64 | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
| Red Hat Enterprise Linux | RHEL-10 | goose-debuginfoaarch64 | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-10 | goose-debuginfoppc64le | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-10 | goose-debuginfos390x | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-10 | goose-debuginfox86_64 | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-10 | goose-debugsourceaarch64 | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-10 | goose-debugsourceppc64le | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-10 | goose-debugsources390x | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-10 | goose-debugsourcex86_64 | Advisory build | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| Red Hat Enterprise Linux | RHEL-9 | goose-debuginfoaarch64 | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
| Red Hat Enterprise Linux | RHEL-9 | goose-debuginfoppc64le | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
| Red Hat Enterprise Linux | RHEL-9 | goose-debuginfos390x | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
| Red Hat Enterprise Linux | RHEL-9 | goose-debuginfox86_64 | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
| Red Hat Enterprise Linux | RHEL-9 | goose-debugsourceaarch64 | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
| Red Hat Enterprise Linux | RHEL-9 | goose-debugsourceppc64le | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
| Red Hat Enterprise Linux | RHEL-9 | goose-debugsources390x | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
| Red Hat Enterprise Linux | RHEL-9 | goose-debugsourcex86_64 | Advisory build | 1.45.0-1.el9_8 | RHSA-2026:80764 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| aaif-goose | goose | < 1.44.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
3Provider assertions
2GitHub_M · cna
goose: Arbitrary command execution in goose CLI via `goose review` via git core.fsmonitor
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e6724bca29794d9426aaea94326ceb015e88ed29a5baef6f9704f5c8692d2095
- Ingested
- 23 Sep 2026, 09:30:18 UTC
- Source record
- Official CVE record