Arbitrary Argument Injection Affecting gogs.io/gogs/internal/database package, versions <0.14.2-rc.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.51% (41st 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-GOGSIOGOGSINTERNALDATABASE-15435419
  • published6 Mar 2026
  • disclosed5 Mar 2026
  • creditRez Moss

Introduced: 5 Mar 2026

CVE-2026-26194  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade gogs.io/gogs/internal/database to version 0.14.2-rc.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Argument Injection via the tag deletion. An attacker can execute arbitrary git options by supplying a crafted tag name when triggering the deletion, potentially causing unintended behavior or disruption of the underlying process.

CVSS Base Scores

version 4.0
version 3.1