CVE-2026-129128: Goose CLI OS Command Injection
Published 2026-11-13 · Updated 2026-11-16 · Source disclosure@vulncheck.com
Not known to be exploited · high severity — update Goose CLI to 1.53.0 or later in your next patch cycle.
What to do
- Update Goose CLI to version 1.53.0 or later. Versions from 1.35.0 up to, but not including, 1.53.0 are affected.
- Until it is patched, limit who has a local account on systems running Goose CLI.
- Remove the affected interface from untrusted networks, and run the service under a low-privilege account so an injected command has limited reach.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Goose CLI | ≥ 1.35.0, < 1.53.0 | 1.53.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality, integrity and availability is rated high.
| Attack vector | Local | Exploiting it requires local access to the system, or getting a user to open a crafted file. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: OS Command Injection
Attacker-controlled input is passed to an operating-system shell, which typically means running arbitrary commands with the privileges of the vulnerable service.
Classified as CWE-78.
Description
Goose CLI 1.35.0 before 1.53.0 contains a local code execution vulnerability that allows attackers to run commands by setting diff.external in a repository's .git/config. Attackers can ship a crafted repository that, when the victim runs goose review, executes git diff without --no-ext-diff, running commands as the user and exposing credentials and provider API keys.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/aaif-goose/goose/commit/3fbea00fd44f6496ee4afe2b8b2897c3c95d63e9
- Patchhttps://github.com/aaif-goose/goose/pull/12537
- Patchhttps://github.com/aaif-goose/goose/pull/13469
- Patchhttps://github.com/aaif-goose/goose/releases/tag/v1.53.0
- Advisoryhttps://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external
- Referencehttps://github.com/aaif-goose/goose
- Referencehttps://github.com/aaif-goose/goose/blob/302b60806639ea9f0ae8f053f49f8bf0e88b26f4/crates/goose-cli/src/commands/review/handler.rs#L400
- Referencehttps://github.com/aaif-goose/goose/issues/12960