CVE-2026-55062

uniget: Path Traversal in Hook Files - Directory Escape Vulnerability

State
Published
Severity
8.4 High
Published
Sep 17, 2026
Updated
Sep 23, 2026
Reserved
Jun 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.4 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NGitHub_M

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

Affected Products

ProductVersions
cliuniget-org
  • < 0.27.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.