Skip to content

CVE-2026-55569 aqua: Archive extraction in aqua follows attacker-planted symlinks, allowing writes outside the install directory

MediumCVSS 6.6 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 0 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
aquaproj github.com/aquaproj/aqua/v2(Go) < 2.60.1; All versions 2.60.1 Partially fixed
aquaproj github.com/aquaproj/aqua/v2 = < 2.60.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
aquaproj github.com/aquaproj/aqua/v2(Go) < 2.60.1 2.60.1
aquaproj github.com/aquaproj/aqua/v2(Go) All versions No fix listed
aquaproj github.com/aquaproj/aqua/v2 = < 2.60.1 No fix listed

References