{"id":"CVE-2026-55062","published":"2026-09-17T18:22:21Z","modified":"2026-09-23T19:13:01Z","title":"uniget: Path Traversal in Hook Files - Directory Escape Vulnerability","vendor":"uniget-org","product":"cli","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00164,"percentile":0.03153,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-23","name":"Relative Path Traversal"},{"id":"CWE-36","name":"Absolute Path Traversal"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/uniget-org/cli/security/advisories/GHSA-m6jg-wr9m-cg2f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/uniget-org/cli/commit/7b4f18a9f00f0955f830c7ccf266ed0de5f9fd91","tags":["x_refsource_MISC"]},{"url":"https://github.com/uniget-org/cli/releases/tag/v0.27.6","tags":["x_refsource_MISC"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":0.63},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.88}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-22","earliestUrl":"https://github.com/0x5t4l1n/CVE-2026-55062","repos":[{"name":"0x5t4l1n/CVE-2026-55062","url":"https://github.com/0x5t4l1n/CVE-2026-55062","stars":0,"created":"2026-11-22"}]},"first":{"date":"2026-11-22","source":"PoC-in-GitHub","url":"https://github.com/0x5t4l1n/CVE-2026-55062"},"provenance":"source"},"vendorSlug":"uniget-org","affectedVersions":[{"vendor":"uniget-org","product":"cli","versions":["< 0.27.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-23T19:12:55.327805Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"gitlab.com/uniget-org/cli","vulnerableRanges":["<0.27.6"],"patched":["0.27.6"],"from":["GHSA-m6jg-wr9m-cg2f","GO-2026-6247"],"provenance":"source"}],"summary":{"text":"The uniget CLI (uniget-org) has a path traversal flaw in the hooks edit command in cmd/uniget/hooks.go, which concatenates an unvalidated hook filename with the hooks directory so that parent-directory components can escape it, and the resulting path is passed to the configured editor. An attacker with local access and low privileges can exploit this through the hooks edit command by supplying a crafted hook filename, which lets the editor open or modify files outside the hooks directory with the privileges of the uniget process account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:15Z"},"euvd":{"id":"EUVD-2026-82370","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-45152","published":"2026-05-27","fixed":"0.27.1","kev":false,"link":{"from":"CVE-2026-45152","to":"CVE-2026-55062","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:gitlab.com/uniget-org/cli","fromFixed":"0.27.1","toFixed":"0.27.6","daysApart":113}]}},{"cve":"CVE-2026-55061","published":"2026-09-17","fixed":"0.27.6","kev":false},{"cve":"CVE-2026-55062","published":"2026-09-17","fixed":"0.27.6","kev":false}],"package":"Go:gitlab.com/uniget-org/cli"}}