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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260902T191204-160000.1.1 | openSUSE-SU-2026:21812-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- SUSE-SU-2026:23692-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Sep 29, 2026
- SUSE-SU-2026:23712-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Sep 29, 2026
- openSUSE-SU-2026:21812-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Sep 10, 2026