CVE-2026-55062
8.4
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| uniget-org | cli | < 0.27.6 | affected |
Weaknesses
- CWE-22: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-23: CWE-23: Relative Path Traversal
- CWE-36: CWE-36: Absolute Path Traversal
- CWE-73: CWE-73: External Control of File Name or Path
References
- https://github.com/uniget-org/cli/security/advisories/GHSA-m6jg-wr9m-cg2f
- https://github.com/uniget-org/cli/commit/7b4f18a9f00f0955f830c7ccf266ed0de5f9fd91
- https://github.com/uniget-org/cli/releases/tag/v0.27.6
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.