Overview
HashiCorp’s go-getter library, widely used for file downloading, has been found to be vulnerable to symlink attacks, potentially resulting in unauthorized read access beyond the designated directory boundaries. This vulnerability, designated as CVE-2025-8959, possesses a significant threat to system security and data integrity as it can lead to system compromise or data leakage.
Vulnerability Summary
CVE ID: CVE-2025-8959
Severity: High (7.5 CVSS Score)
Attack Vector: Symlink Attack
Privileges Required: None
User Interaction: None
Impact: Unauthorized read access beyond the designated boundaries, leading to potential system compromise or data leakage.
Affected Products
Share secrets securely
Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.
Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.
- • Encrypted identity
- • Private Spaces for organizations and teams
- • End-to-end encrypted chat, calls, files, and notes
- • Sensitive AI work and protected collaboration
- • Built for information that cannot leak
Our mission is to secure human work alongside AI.
Product | Affected Versions
HashiCorp go-getter | < 1.7.9 How the Exploit Works
The vulnerability is exploited through a symlink attack, where a malicious actor creates a symbolic link to a file outside the designated directory. This allows the attacker to bypass the directory restrictions, gaining read access to files that should be inaccessible. Any product or system using a vulnerable version of the go-getter library could be at risk, potentially exposing sensitive information or system files.
Conceptual Example Code
A conceptual example of the exploit in a shell command could be as follows:
# Attacker creates a symlink to a file outside the designated directory
ln -s /etc/passwd ./symlink
# Attacker uses go-getter to download the symlink, resulting in unauthorized access to /etc/passwd
go-getter ./symlink /path/to/download
Mitigation
Users are advised to upgrade to go-getter version 1.7.9 or later, which contains a patch for this vulnerability. If an upgrade is not immediately possible, a potential temporary mitigation could involve the use of a Web Application Firewall (WAF) or Intrusion Detection System (IDS) to monitor and block suspicious activity. However, these should not be considered long-term solutions, and an upgrade to a patched version of the software should be undertaken as soon as possible.
