Go-getter may allow to arbitrary filesystem reads through git operations
Title source: cnaExploitation Summary
EIP tracks 2 public exploits for CVE-2026-4660. PoCs published by adminlove520, gouldnicholas.
AI-analyzed exploit summary This repository contains a functional proof-of-concept exploit for CVE-2026-4660, demonstrating arbitrary file read via git checkout --pathspec-from-file in HashiCorp's go-getter library. The PoC uses Docker to simulate an attack scenario where Terraform init leaks sensitive files like AWS credentials and SSH keys.
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.
Exploits (2)
This repository contains a functional proof-of-concept exploit for CVE-2026-4660, demonstrating arbitrary file read via git checkout --pathspec-from-file in HashiCorp's go-getter library. The PoC uses Docker to simulate an attack scenario where Terraform init leaks sensitive files like AWS credentials and SSH keys.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N