# CVE-2026-55062: uniget: Path Traversal in Hook Files - Directory Escape Vulnerability

- Severity: High 8.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-17T17:46:33.000Z
- Modified: 2026-09-30T17:32:07.107Z
- Also known as: GHSA-m6jg-wr9m-cg2f, GO-2026-6247
- Weaknesses: CWE-22, CWE-23, CWE-36, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- uniget-org cli: < 0.27.6
- gitlab.com/uniget-org/cli (Go): before 0.27.6

## Every score

- GitHub_M: CVSS:4.0 8.4 High `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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/uniget-org/cli/security/advisories/GHSA-m6jg-wr9m-cg2f> (exploit, advisory, web)
- <https://github.com/uniget-org/cli/commit/7b4f18a9f00f0955f830c7ccf266ed0de5f9fd91> (web)
- <https://github.com/uniget-org/cli/releases/tag/v0.27.6> (web)
- <https://github.com/uniget-org/cli> (package)

## Sources

- CVE List: [CVE-2026-55062](https://www.cve.org/CVERecord?id=CVE-2026-55062), CVE Terms of Use, modified 2026-09-23
- GitHub Advisory Database: [GHSA-m6jg-wr9m-cg2f](https://github.com/advisories/GHSA-m6jg-wr9m-cg2f), CC-BY-4.0, modified 2026-08-18
- Go Vulnerability Database: [GO-2026-6247](https://pkg.go.dev/vuln/GO-2026-6247), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-55062](https://nvd.nist.gov/vuln/detail/CVE-2026-55062), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-55062 · Whole record: https://cve.day/CVE-2026-55062.json · Rebuilt by cve.day 2026-11-25T22:59:39.501Z
