Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gitlab.com/uniget-org/cli
  4. ›
  5. CVE-2026-55062

CVE-2026-55062: uniget CLI has Path Traversal in Hook Files - Directory Escape Vulnerability

August 17, 2026

Path Traversal vulnerability in hook filename handling allows attackers to access and manipulate arbitrary files outside the hooks directory via directory escape sequences like passwd.

Details File: hooks.go Lines 135-160

hookFileName := args[0]  // User input not validated
hookFile = preInstallHooksDir + "/" + hookFileName  // Direct concatenation

Hook filenames are concatenated directly without sanitizing ../ sequences, allowing directory traversal.

References

  • github.com/advisories/GHSA-m6jg-wr9m-cg2f
  • github.com/uniget-org/cli/commit/7b4f18a9f00f0955f830c7ccf266ed0de5f9fd91
  • github.com/uniget-org/cli/releases/tag/v0.27.6
  • github.com/uniget-org/cli/security/advisories/GHSA-m6jg-wr9m-cg2f
  • nvd.nist.gov/vuln/detail/CVE-2026-55062

Code Behaviors & Features

Detect and mitigate CVE-2026-55062 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.27.6

Fixed versions

  • 0.27.6

Solution

Upgrade to version 0.27.6 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-23: Relative Path Traversal
  • CWE-36: Absolute Path Traversal
  • CWE-73: External Control of File Name or Path

Source file

go/gitlab.com/uniget-org/cli/CVE-2026-55062.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 18 Aug 2026 00:16:48 +0000.