Path Traversal in github.com/aquaproj/aqua/v2 (CVE-2026-55569)
Summary
Path traversal in github.com/aquaproj/aqua/v2 (CVE-2026-55569). Data can be tampered with by attackers. Exploitable via tar.gz. Mitigation: upgrade to 2.60.1 or later.
Original description
The description as published by the source.
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:
os.Symlink(f.LinkTarget, dstPath)
for symlink entries, followed by:
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:
- symlink
pwn ->; - regular file
pwncontaining 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:
go run mkarchi…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-55569 has been found in github.com/aquaproj/aqua/v2.
Attackers can target a specific entry point like tar.gz over the network to misuse the product.
Data can be tampered with by attackers. CVSS score: 6.6/10.
What to do: upgrade github.com/aquaproj/aqua/v2 to 2.60.1 or later.
If unsure, ask your IT team or search "github.com/aquaproj/aqua/v2 CVE-2026-55569" on the vendor's site.
CVE-2026-55569 (github.com/aquaproj/aqua/v2) — CWE-22 / CVSS v3 6.6
Attack vector: local / unauthenticated
Attack surface: tar.gz / pwn
Patched: 2.60.1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in github.com/aquaproj/aqua/v2. Attackers reach the vulnerable code path via tar.gz without authentication.
Check the vendor advisory for the affected versions of github.com/aquaproj/aqua/v2. Attack surface: tar.gz / pwn.
Severity: Medium (CVSS 6.6/10). Data can be tampered with by attackers.
Update to 2.60.1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'github.com/aquaproj/aqua/v2' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'github.com/aquaproj/aqua/v2' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/aquaproj/aqua/v2を grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade github.com/aquaproj/aqua/v2 to 2.60.1ステージング環境で 2.60.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com