{"schemaVersion":3,"id":"CVE-2026-55062","aliases":["GHSA-m6jg-wr9m-cg2f","GO-2026-6247"],"status":"published","duplicateOf":null,"title":"uniget: Path Traversal in Hook Files - Directory Escape Vulnerability","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.","dates":{"published":"2026-09-17T18:22:21.656Z","modified":"2026-09-23T19:13:01.161Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.4,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.4,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.4,"severity":"high","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0019,"percentile":0.08243,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.060000000000000005,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.0013},"history":[{"date":"2026-09-18T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0019,"percentile":0.08243}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0019,"percentile":0.08243}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-23","name":"Relative Path Traversal","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as \"..\" that can resolve to a location that is outside of that directory.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/23.html"},{"id":"CWE-36","name":"Absolute Path Traversal","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as \"/abs/path\" that can resolve to a location that is outside of that directory.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/36.html"},{"id":"CWE-73","name":"External Control of File Name or Path","description":"The product allows user input to control or influence paths or file names that are used in filesystem operations.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/73.html"}],"affected":[{"vendor":"gitlab.com/uniget-org","product":"cli","name":"gitlab.com/uniget-org/cli","label":"cli","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/gitlab.com/uniget-org/cli","purlType":"golang","versions":[{"text":"< 0.27.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.27.6","eol":null,"hubHref":null},{"vendor":"uniget-org","product":"cli","name":"cli","label":"cli","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.27.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.27.6","eol":null,"hubHref":"/vendor/uniget-org/cli"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/uniget-org/cli/security/advisories/GHSA-m6jg-wr9m-cg2f","label":"github.com/uniget-org/cli/security/advisories/GHSA-m6jg-wr9m-cg2f","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/uniget-org/cli/commit/7b4f18a9f00f0955f830c7ccf266ed0de5f9fd91","label":"github.com/uniget-org/cli/commit/7b4f18a9f00f0955f830c7ccf266ed0de5f9fd91","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/uniget-org/cli/releases/tag/v0.27.6","label":"github.com/uniget-org/cli/releases/tag/v0.27.6","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/uniget-org/cli","label":"github.com/uniget-org/cli","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21761-1","SUSE-SU-2026:23625-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21761-1","SUSE-SU-2026:23625-1"]},"timeline":[{"kind":"published","date":"2026-09-17T18:22:21.656Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-23T19:13:01.161Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T17:19:55.341Z","stale":false,"partial":false}}