Uniget-org cli
uniget: Path Traversal in Hook Files - Directory Escape Vulnerability
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.4high · scored by CNA · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
uniget-org cli
- < 0.27.6
Fixed in 0.27.6
Mitigation
Upgrade cli to 0.27.6 or later.
References
- Vendor advisory github.com/uniget-org/cli/security/advisories/…
- Patch github.com/uniget-org/cli/commit/7b4f18a9f00f0…
- Release notes github.com/uniget-org/cli/releases/tag/v0.27.6
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.