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

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-28T16:26:51.328Z
- Modified: 2026-09-09T21:09:13.080Z
- Also known as: GHSA-mf5c-hw34-4hpp, GO-2026-6314
- Weaknesses: CWE-22, CWE-59
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- aquaproj aqua: < 2.60.1
- github.com/aquaproj/aqua/v2 (Go): before 2.60.1
- github.com/aquaproj/aqua (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L`
- GitHub: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L`

## References

- <https://github.com/aquaproj/aqua/security/advisories/GHSA-mf5c-hw34-4hpp> (exploit, advisory, web)
- <https://github.com/aquaproj/aqua/commit/d5b02b220188de376a661b3aabfa912202a1a59a> (fix, web)
- <https://github.com/aquaproj/aqua/releases/tag/v2.60.1> (web)
- <https://github.com/aquaproj/aqua> (package)

## Sources

- CVE List: [CVE-2026-55569](https://www.cve.org/CVERecord?id=CVE-2026-55569), CVE Terms of Use, modified 2026-09-01
- GitHub Advisory Database: [GHSA-mf5c-hw34-4hpp](https://github.com/advisories/GHSA-mf5c-hw34-4hpp), CC-BY-4.0, modified 2026-09-02
- Go Vulnerability Database: [GO-2026-6314](https://pkg.go.dev/vuln/GO-2026-6314), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-55569](https://nvd.nist.gov/vuln/detail/CVE-2026-55569), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-55569 · Whole record: https://cve.day/CVE-2026-55569.json · Rebuilt by cve.day 2026-11-25T22:59:35.693Z
