CVE-2026-55062 PUBLISHED

uniget: Path Traversal in Hook Files - Directory Escape Vulnerability

Assigner: GitHub_M
Reserved: 16.06.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Metrics

CVSS 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
CVSS Score: 8.4

Product Status

Vendor uniget-org
Product cli
Versions
  • Version < 0.27.6 is affected

References

Problem Types

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