Skip to main content

aquaproj aqua CVE-2026-55569

| EUVDEUVD-2026-67827 MEDIUM
Path Traversal (CWE-22)
2026-08-28 https://github.com/aquaproj/aqua GHSA-mf5c-hw34-4hpp
6.6
CVSS 3.1 · Vendor: https://github.com/aquaproj/aqua
Share

Severity by source

Vendor (https://github.com/aquaproj/aqua) PRIMARY
6.6 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
vuln.today AI
6.4 MEDIUM

Attacker delivers exploit via compromised remote package source (AV:N, AC:H); no victim-system privileges required; file overwrite limits confidentiality impact to low.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/aquaproj/aqua).

CVSS VectorVendor: https://github.com/aquaproj/aqua

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low

Lifecycle Timeline

2
Source Code Evidence Fetched
Aug 28, 2026 - 16:54 vuln.today
Analysis Generated
Aug 28, 2026 - 16:54 vuln.today

DescriptionCVE.org

Summary

aquaproj/aqua extracts downloaded tool archives through pkg/unarchive/archives.go using github.com/mholt/archives. The archive handler creates symlink entries with os.Symlink(f.LinkTarget, dstPath) without validating that the symlink target resolves inside the extraction destination. A subsequent regular-file archive entry with the same path is opened with OpenFile(dstPath, O_CREATE|O_WRONLY), which follows the attacker-planted symlink.

A malicious or compromised aqua package / release asset can therefore write attacker-controlled bytes outside aqua's extraction directory, with the privileges of the user running aqua.

Details

Affected file: pkg/unarchive/archives.go

Affected function: (*handler).HandleFile

The vulnerable logic is the combination of:

go
os.Symlink(f.LinkTarget, dstPath)

for symlink entries, followed by:

go
h.fs.OpenFile(dstPath, os.O_CREATE|os.O_WRONLY, f.Mode())

for a later regular file entry at the same archive path. The symlink target is not jailed to the extraction destination, and the later file open follows the symlink.

The attached PoC uses a two-entry tar.gz archive:

  1. symlink pwn -> <outside target>;
  2. regular file pwn containing attacker-controlled bytes.

The same mholt/archives extraction flow is used for the vulnerable handler and for a negative-control handler using a destination-root jail.

PoC

Attachment: submission_aqua_archive_symlink_traversal_v2_final.zip

Run:

bash
go run mkarchive.go /tmp/aqua-outside-target
go build -o aqua-archive-poc .
mkdir -p /tmp/aqua-dest
./aqua-archive-poc vuln /tmp/aqua-dest malicious.tar.gz
cat /tmp/aqua-outside-target

mkdir -p /tmp/aqua-dest-safe
./aqua-archive-poc safe /tmp/aqua-dest-safe malicious.tar.gz

Expected vulnerable result:

text
/tmp/aqua-outside-target contains PWNED_BY_AQUA_SYMLINK_TRAVERSAL

Expected safe-control result:

text
The escaping symlink / write is rejected and the outside target is unchanged.

Impact

An attacker who controls an archive that aqua installs can write attacker-controlled content to paths outside the extraction destination, limited by the filesystem permissions of the user running aqua. This can lead to user-level code execution if the overwritten path is later executed or interpreted, for example a shell startup file, a tool configuration file, or a writable PATH entry.

This report does not claim privilege escalation beyond the aqua process privileges.

AnalysisAI

Archive symlink traversal in aquaproj/aqua prior to v2.60.1 enables an attacker who controls a tool archive to write arbitrary files outside the extraction directory with the privileges of the user running aqua. The vulnerable combination in pkg/unarchive/archives.go - creating a symlink without destination validation, then following it with a regular file write - allows a malicious tar.gz to overwrite files such as shell startup scripts or PATH entries, resulting in user-level code execution. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Recon
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Install
technique details hidden
C2
technique details hidden
Execute
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Exploitation requires that the attacker control or compromise the specific archive source that aqua downloads - a package registry entry or GitHub release asset for a tool present in the victim's aqua configuration. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The official CVSS score of 6.6 (AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L) captures the high integrity impact, but the AV:L designation warrants scrutiny - the actual attack path is a supply chain vector where the attacker publishes or compromises a remote package source, suggesting AV:N with AC:H may better reflect operational risk. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation Upgrade aquaproj/aqua to v2.60.1 or later, which introduces symlink target validation and a destination-jailing check in the archive extraction handler (commit d5b02b220188de376a661b3aabfa912202a1a59a; release at https://github.com/aquaproj/aqua/releases/tag/v2.60.1). … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-55569 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy