Read the docs
TI-2026-50953 Aliases CVE-2026-72718

goose: Arbitrary command execution in goose CLI via `goose review` via git core.fsmonitor

Priority HIGH 66CWE-94Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-94.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00216 12th percentileScored 2026-11-07
Fix Fixed goose (aaif-goose): 1.44.0Red Hat: 2 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
aaif-goosegoosebefore 1.44.01.44.0Patch availableCNA
  • goose Vendoraaif-goose Affected before 1.44.0 Fixed in 1.44.0 Patch available CNA

Remediation

  • Fix · CNA goose (aaif-goose) Fixed in 1.44.0

Red Hat 2 advisories

  • RHSA-2026:80765 Released 2026-10-12 · Red Hat rating Important
    goose security update
    • Red Hat Enterprise Linux Extensions Channel (v. 10) goose-1.45.0-1.el10_2
  • RHSA-2026:80764 Released 2026-10-12 · Red Hat rating Important
    goose security update
    • Red Hat Enterprise Linux Extensions Channel (v. 9) goose-1.45.0-1.el9_8

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux Extensions Channel (v. 10)Fixed RHSA-2026:80765
Red Hat Enterprise Linux Extensions Channel (v. 9)Fixed RHSA-2026:80764

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-72718
  2. 2026-10-12 Fix available: RHSA-2026:80765 · Red Hat
  3. 2026-10-12 Fix available: RHSA-2026:80764 · Red Hat
  4. 2026-10-12 Fix available: Red Hat Enterprise Linux Extensions Channel (v. 10), Red Hat Enterprise Linux Extensions Channel (v. 9) · Red Hat

References

  • TI-2026-58748 goose 1.37.0 Arbitrary Command Execution via Recipe Extensions CVSS 4.0HIGH 8.7
  • TI-2026-71291 Manual approval bypass in goose via read-only tool annotations CVSS 4.0LOW 2.3

Sources