Arbitrary Argument Injection Affecting gitlab.com/uniget-org/cli/cmd/uniget package, versions <0.27.6


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITLABCOMUNIGETORGCLICMDUNIGET-20046685
  • published22 Sept 2026
  • disclosed17 Sept 2026
  • credit0x5t4l1n, Chris35t, harriiinnii

Introduced: 17 Sep 2026

NewCVE-2026-55061  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade gitlab.com/uniget-org/cli/cmd/uniget to version 0.27.6 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Argument Injection due to the hook editor handling in cmd/uniget/hooks.go. An attacker can execute arbitrary commands by setting EDITOR or UNIGET_EDITOR to a value containing shell metacharacters and then invoking the hook editing command, which passes the split editor string to exec.Command as separate arguments. This allows the attacker-controlled editor setting to run unintended commands during hook editing, giving code execution with the privileges of the user running uniget and breaking hook-editing workflows for editors that rely on spaces in their command line.

CVSS Base Scores

version 4.0
version 3.1