CVE-2026-55569 aqua: Archive extraction in aqua follows attacker-planted symlinks, allowing writes outside the install directory
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/aquaproj/aqua/security/advisories/GHSA-mf5c-hw34-4hpp exploit vendor-advisory
- https://github.com/aquaproj/aqua/commit/d5b02b220188de376a661b3aabfa912202a1a59a patch
- github.com product
- https://github.com/aquaproj/aqua/releases/tag/v2.60.1
- github.com
- ENISA EUVD EUVD-2026-67827 third-party-advisory