Use of GET Request Method With Sensitive Query Strings Affecting gogs.io/gogs/internal/context 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.25% (17th 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-GOGSIOGOGSINTERNALCONTEXT-15435394
  • published6 Mar 2026
  • disclosed5 Mar 2026
  • creditRez Moss

Introduced: 5 Mar 2026

CVE-2026-26196  (opens in a new tab)
CWE-598  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Use of GET Request Method With Sensitive Query Strings in the c.IsTokenAuth checks in API routes. An attacker can obtain sensitive access tokens by inspecting URL parameters in logs, browser history, or referrer headers.

CVSS Base Scores

version 4.0
version 3.1