GO-2026-5058

Source
https://pkg.go.dev/vuln/GO-2026-5058
Import Source
https://vuln.go.dev/ID/GO-2026-5058.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-5058
Aliases
Published
2026-06-22T19:29:01Z
Modified
2026-06-25T18:45:15.018001903Z
Summary
HashiCorp's go-getter library may allow arbitrary file reads in github.com/hashicorp/go-getter
Details

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 is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branch and package.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-5058",
    "review_status": "REVIEWED"
}
References
Credits
    • Nicholas Gould (Github: gouldnicholas)

Affected packages

Go / github.com/hashicorp/go-getter

Package

Name
github.com/hashicorp/go-getter
View open source insights on deps.dev
Purl
pkg:golang/github.com/hashicorp/go-getter

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.6

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5058.json"