CVE-2026-4660

HIGH LAB

Go-getter may allow to arbitrary filesystem reads through git operations

Title source: cna
STIX 2.1

Exploitation 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)

nomisec WORKING POC
by gouldnicholas · poc
https://github.com/gouldnicholas/CVE-2026-4660-PoC

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.

Classification
Working Poc 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: HashiCorp go-getter v1.8.2-v1.8.5, Terraform v1.9.0-v1.14.8
No auth needed
Prerequisites: Docker · vulnerable version of Terraform or go-getter
devstral-2 · analyzed Apr 11, 2026 Full analysis →

Scores

CVSS v3 7.5
EPSS 0.0002
EPSS Percentile 3.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Lab Environment

COMMUNITY
Community Lab
docker pull hashicorp/terraform:1.14.8

Details

CWE
CWE-200
Status published
Products (2)
hashicorp/go-getter 0 - 1.8.6Go
HashiCorp/Tooling < 1.8.6
Published Apr 09, 2026
Tracked Since Apr 09, 2026