CVE-2026-4660 Go-getter may allow to arbitrary filesystem reads through git operations
Attackers can read arbitrary files via malicious URLs in go-getter, impacting applications using this library for git operations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-4660?
CVE-2026-4660 is a high-severity path traversal vulnerability in HashiCorp Tooling, published on 9 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
HashiCorp’s go-getter library up to v1.8.5 may allow arbitrary file reads on the file system during certain git operations through a maliciously crafted URL. This vulnerability, CVE-2026-4660, is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branch and package.
Which versions are affected by CVE-2026-4660?
3 open source packages ship an affected version, including github.com/hashicorp/go-getter.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hashicorp/go-getter Go | All versions | 1.8.6 |
github.com/hashicorp/go-getter Go | All versions | 1.8.6 |
github.com/hashicorp/go-getter Go | All versions | 1.8.6 |
How do I fix CVE-2026-4660?
Upgrade github.com/hashicorp/go-getter to 1.8.6 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-4660 being exploited?
There is no known exploitation of CVE-2026-4660 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as BELL-CVE-2026-4660, CLEANSTART-2026-KS06935, CLEANSTART-2026-MS09859, DEBIAN-CVE-2026-4660, GHSA-92mm-2pjq-r785, GO-2026-5058 and 52 more.