CVE-2026-72718
goose: Arbitrary command execution in goose CLI via `goose review` via git core.fsmonitor
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.
INFO
Published Date :
Aug. 10, 2026, 4:19 p.m.
Last Modified :
Oct. 24, 2026, 3:10 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Update goose to version 1.44.0.
- Apply vendor patches if available.
- Review Git configurations for malicious settings.
- Avoid untrusted repositories.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72718.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72718 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72718
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72718 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72718 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 24, 2026
Action Type Old Value New Value Changed Translation Title: goose de aaif-goose, Description: goose es un agente de IA de propósito general que se ejecuta en su máquina. Antes de la versión 1.44.0, el comando ’goose review’ ejecuta el ejecutable ’git’ del sistema para recopilar el ’diff’ para revisión sin eliminar la configuración de Git controlada por el atacante. Un repositorio malicioso cuyo ’.git/config’ establece ’[core] fsmonitor = [command]’ hace que Git ejecute ese comando en el host durante la actualización del índice realizada por ’git diff HEAD’. El comando se ejecuta antes de que goose contacte a un modelo y sin un ’prompt’ enviado, una llamada al modelo, una aprobación de herramienta o un ’prompt’ de confianza. El proceso de Git de recopilación de contexto no está en un ’sandbox’ y está fuera del modelo de permisos de herramientas de goose. Los comandos arbitrarios se ejecutan con los privilegios y el entorno del usuario que ejecuta goose, permitiendo el acceso o la modificación de archivos y la exfiltración de secretos de entorno y claves API del proveedor. Las invocaciones vulnerables de Git son construidas por git_command() en crates/goose-cli/src/commands/review/handler.rs y son utilizadas por touched_files() y collect_diff() para ’git diff --name-only HEAD’ y ’git diff HEAD’. Este problema se corrige en la versión 1.44.0. Title: goose de aaif-goose, Description: goose es un agente de IA de propósito general que se ejecuta en su máquina. Antes de la versión 1.44.0, el comando ’goose review’ ejecuta el ejecutable ’git’ del sistema para recopilar el ’diff’ para revisión sin eliminar la configuración de Git controlada por el atacante. Un repositorio malicioso cuyo ’.git/config’ establece ’[core] fsmonitor = [command]’ hace que Git ejecute ese comando en el host durante la actualización del índice realizada por ’git diff HEAD’. El comando se ejecuta antes de que goose contacte a un modelo y sin un ’prompt’ enviado, una llamada al modelo, una aprobación de herramienta o un ’prompt’ de confianza. El proceso de Git de recopilación de contexto no está en un ’sandbox’ y está fuera del modelo de permisos de herramientas de goose. Los comandos arbitrarios se ejecutan con los privilegios y el entorno del usuario que ejecuta goose, permitiendo el acceso o la modificación de archivos y la exfiltración de secretos de entorno y claves API del proveedor. Las invocaciones vulnerables de Git son construidas por git_command() en crates/goose-cli/src/commands/review/handler.rs y son utilizadas por touched_files() y collect_diff() para ’git diff --name-only HEAD’ y ’git diff HEAD’. Este problema se corrige en la versión 1.44.0. -
CVE Translated by [email protected]
Oct. 23, 2026
Action Type Old Value New Value Added Translation Title: goose de aaif-goose, Description: goose es un agente de IA de propósito general que se ejecuta en su máquina. Antes de la versión 1.44.0, el comando ’goose review’ ejecuta el ejecutable ’git’ del sistema para recopilar el ’diff’ para revisión sin eliminar la configuración de Git controlada por el atacante. Un repositorio malicioso cuyo ’.git/config’ establece ’[core] fsmonitor = [command]’ hace que Git ejecute ese comando en el host durante la actualización del índice realizada por ’git diff HEAD’. El comando se ejecuta antes de que goose contacte a un modelo y sin un ’prompt’ enviado, una llamada al modelo, una aprobación de herramienta o un ’prompt’ de confianza. El proceso de Git de recopilación de contexto no está en un ’sandbox’ y está fuera del modelo de permisos de herramientas de goose. Los comandos arbitrarios se ejecutan con los privilegios y el entorno del usuario que ejecuta goose, permitiendo el acceso o la modificación de archivos y la exfiltración de secretos de entorno y claves API del proveedor. Las invocaciones vulnerables de Git son construidas por git_command() en crates/goose-cli/src/commands/review/handler.rs y son utilizadas por touched_files() y collect_diff() para ’git diff --name-only HEAD’ y ’git diff HEAD’. Este problema se corrige en la versión 1.44.0. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 10, 2026
Action Type Old Value New Value Added Reference https://github.com/aaif-goose/goose/security/advisories/GHSA-r5pp-p5r8-466r Added SSVC {'id': 'CVE-2026-72718', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-08-10T16:59:40.746610Z'} -
New CVE Received by [email protected]
Aug. 10, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'aaif-goose', 'product': 'goose', 'versions': [{'status': 'affected', 'version': '< 1.44.0'}]}] Added 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. Added CVSS V4.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 Added CWE CWE-94 Added Reference https://github.com/aaif-goose/goose/commit/f8b5b7ba1fe6d006ccf6942f6b85a1bae985a2de Added Reference https://github.com/aaif-goose/goose/releases/tag/v1.44.0 Added Reference https://github.com/aaif-goose/goose/security/advisories/GHSA-r5pp-p5r8-466r