CVE-2026-55062

uniget: Path Traversal in Hook Files - Directory Escape Vulnerability

Published Sep 17, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
Description
uniget is a universal installer and updater for (container) tools. Prior to 0.27.6, the hooks edit command in cmd/uniget/hooks.go concatenates an unvalidated hook filename with the selected hooks directory, allowing parent-directory components to escape that directory. The resulting path is passed to the configured editor, which can access or modify files outside the hooks directory with the privileges of the uniget process account. This issue is fixed in version 0.27.6.

Analysis

AI-generated

Technical impact

The path‑traversal bug is located in the hooks edit command of uniget prior to version 0.27.6. An attacker can supply a hook file name that includes parent‑directory components; the application concatenates this name with the configured hooks directory without validation. The resulting path is then passed to the chosen editor, which runs with the same privileges as the uniget process. This allows the tool to read or modify any file on the system that the process can access, potentially leading to unauthorized file manipulation.

Affected Systems

The vulnerability affects the uniget‑org:cli product in all releases before 0.27.6. Systems that run uniget 0.27.5 or earlier and use the hooks edit command are vulnerable. No operating‑system restrictions are noted; the flaw is rooted in application logic rather than platform details.

Risk and Exploitability

The CVSS score of 8.4 denotes high severity, but the EPSS score of < 1 % indicates a low current exploitation probability. The vulnerability is not listed in the CISA KEV catalog, and no public exploits are openly documented. Exploitation requires local access to the uniget process to supply the malicious hook file name; there is no known network‑based vector. The flaw has been fixed in version 0.27.6, so upgrading mitigates the risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to uniget CLI version 0.27.6 or later to eliminate the path‑traversal flaw.
  • If an upgrade cannot be performed immediately, disable the hooks edit feature or constrain the editor command so it operates strictly within the designated hooks directory, preventing access to other files.
  • Run the uniget process with only the minimum privileges required and restrict its file‑system permissions so it cannot read or modify critical system files outside the intended directory.

Generated by OpenCVE AI on September 19, 2026 at 03:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-m6jg-wr9m-cg2f uniget CLI has Path Traversal in Hook Files - Directory Escape Vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Uniget-org
Uniget-org cli
Vendors & Products Uniget-org
Uniget-org cli
Type Values Removed Values Added
Description uniget is a universal installer and updater for (container) tools. Prior to 0.27.6, the hooks edit command in cmd/uniget/hooks.go concatenates an unvalidated hook filename with the selected hooks directory, allowing parent-directory components to escape that directory. The resulting path is passed to the configured editor, which can access or modify files outside the hooks directory with the privileges of the uniget process account. This issue is fixed in version 0.27.6.
Title uniget: Path Traversal in Hook Files - Directory Escape Vulnerability
Weaknesses CWE-22
CWE-23
CWE-36
CWE-73
References
Metrics cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • 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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 23, 2026, 7:13 PM
Reserved
Jun 16, 2026, 2:33 PM
Status
Deferred
Published
Sep 17, 2026, 7:16 PM
Modified
Sep 30, 2026, 5:32 PM