Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-72718— goose: Arbitrary command execution in goose CLI via `goose review` via git core.fsmonitor

Quick assessment

Affected
aaif-goose goose
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

goose是goose组织的一个支持网络功能的操作系统。 goose 1.44.0之前版本存在代码注入漏洞,该漏洞源于goose review命令在运行系统git收集diff时未剥离攻击者控制的Git配置,导致恶意仓库通过core.fsmonitor配置在索引刷新期间执行任意命令,可能造成文件访问或修改以及环境机密和API密钥泄露。

CVSS 7.0 · High EPSS 0.17% · P6

Affected Version Matrix 1

VendorProduct Version RangeStatus
aaif-goose goose < 1.44.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-72718

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
goose: Arbitrary command execution in goose CLI via `goose review` via git core.fsmonitor
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
goose 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
goose是goose组织的一个支持网络功能的操作系统。 goose 1.44.0之前版本存在代码注入漏洞,该漏洞源于goose review命令在运行系统git收集diff时未剥离攻击者控制的Git配置,导致恶意仓库通过core.fsmonitor配置在索引刷新期间执行任意命令,可能造成文件访问或修改以及环境机密和API密钥泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
aaif-goose goose < 1.44.0 -

II. Public POCs for CVE-2026-72718

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-72718

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-72718 (1)

Vendor Advisories for CVE-2026-72718 (1)

Vendor Pages for CVE-2026-72718 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-72718

No comments yet


Leave a comment