---
id: CVE-2026-55569
title: aqua is a declarative command-line version manager written in Go
summary: >-
  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 un…
severity: medium
cvss: 6.6
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L'
cwe:
  - CWE-22
  - CWE-59
vendor: aquaproj
product: github.com/aquaproj/aqua/v2
affected:
  - github.com/aquaproj/aqua/v2 < 2.60.1
patched:
  - github.com/aquaproj/aqua/v2 2.60.1
published: '2026-08-28'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:09:13.080'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-55569'
references:
  - url: >-
      https://github.com/aquaproj/aqua/commit/d5b02b220188de376a661b3aabfa912202a1a59a
    label: security-advisories@github.com
  - url: 'https://github.com/aquaproj/aqua/releases/tag/v2.60.1'
    label: security-advisories@github.com
  - url: 'https://github.com/aquaproj/aqua/security/advisories/GHSA-mf5c-hw34-4hpp'
    label: security-advisories@github.com
  - url: 'https://github.com/aquaproj/aqua/security/advisories/GHSA-mf5c-hw34-4hpp'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-mf5c-hw34-4hpp'
tags:
  - nvd
  - ghsa
  - go
epss: 0.00181
epssPercentile: 0.06804
aliases:
  - GHSA-mf5c-hw34-4hpp
ecosystem: go
ingestedAt: '2026-08-28T17:22:57.105Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-55569)

Affected packages:

- `github.com/aquaproj/aqua/v2 < 2.60.1`

Patched in:

- `github.com/aquaproj/aqua/v2 2.60.1`

Source: https://github.com/advisories/GHSA-mf5c-hw34-4hpp
