Categories
CVE-2026-55569 medium CVSS 6.6

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:

  1. symlink pwn -> ;
  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:

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.

❓ What is the problem

Path traversal (CWE-22) exists in github.com/aquaproj/aqua/v2. Attackers reach the vulnerable code path via tar.gz without authentication.

📍 Affected scope

Check the vendor advisory for the affected versions of github.com/aquaproj/aqua/v2. Attack surface: tar.gz / pwn.

🔥 Severity

Severity: Medium (CVSS 6.6/10). Data can be tampered with by attackers.

🔧 How to fix

Update to 2.60.1.

🛡️ Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

🔍 Detection

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

  1. 1
    Identify 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 し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade github.com/aquaproj/aqua/v2 to 2.60.1

    ステージング環境で 2.60.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

go github.com/aquaproj/aqua/v2
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.60.1"}]}]
Go github.com/aquaproj/aqua
[{"type":"SEMVER","events":[{"introduced":"0"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details