aqua is a declarative command-line version manager written in Go. Prior to 2.60.1, pkg/unarchive/archives.go in the handler.HandleFile method calls os.Symlink with archives.FileInfo.LinkTarget without verifying that the target remains under the extraction destination. A later regular-file entry at the same archive path is opened with OpenFile using O_CREATE and O_WRONLY, which follows the attacker-planted symlink. A malicious or compromised package archive can therefore write attacker-controlled bytes outside aqua's extraction directory with the privileges of the user running aqua, potentially overwriting shell startup files, tool configuration, or writable executable paths. This issue is fixed in version 2.60.1.
History

Mon, 31 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Aquaproj
Aquaproj aqua
Vendors & Products Aquaproj
Aquaproj aqua

Fri, 28 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Description aqua is a declarative command-line version manager written in Go. Prior to 2.60.1, pkg/unarchive/archives.go in the handler.HandleFile method calls os.Symlink with archives.FileInfo.LinkTarget without verifying that the target remains under the extraction destination. A later regular-file entry at the same archive path is opened with OpenFile using O_CREATE and O_WRONLY, which follows the attacker-planted symlink. A malicious or compromised package archive can therefore write attacker-controlled bytes outside aqua's extraction directory with the privileges of the user running aqua, potentially overwriting shell startup files, tool configuration, or writable executable paths. This issue is fixed in version 2.60.1.
Title aqua: Archive extraction in aqua follows attacker-planted symlinks, allowing writes outside the install directory
Weaknesses CWE-22
CWE-59
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-08-28T16:26:51.328Z

Updated: 2026-08-28T16:26:51.328Z

Reserved: 2026-06-16T23:11:20.214Z

Link: CVE-2026-55569

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T20:18:29.347

Modified: 2026-08-28T20:18:29.347

Link: CVE-2026-55569

cve-icon Redhat

No data.