Skip to content
OpenAdvisories
Medium · 6.6 CVE-2026-55569 EUVD-2026-67827GHSA-mf5c-hw34-4hppGO-2026-6314

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

Published Aug 28, 2026 · Updated Sep 1, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
aquaproj aqua < 2.60.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260902T191204-160000.1.1 SUSE-SU-2026:23712-1, SUSE-SU-2026:23692-1
SLES 16.0 govulncheck-vulndb 0.0.20260902T191204-160000.1.1 SUSE-SU-2026:23712-1, SUSE-SU-2026:23692-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260902T191204-160000.1.1 openSUSE-SU-2026:21812-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/aquaproj/aqua all versions — GO-2026-6314
Go github.com/aquaproj/aqua/v2 < 2.60.1 2.60.1 GHSA-mf5c-hw34-4hpp

Advisories 3

References