Authorization Bypass Through User-Controlled Key Affecting github.com/go-gitea/gitea/routers/api/v1/repo package, versions <1.27.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.37% (28th 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-GITHUBCOMGOGITEAGITEAROUTERSAPIV1REPO-18752800
  • published13 Aug 2026
  • disclosed21 Jul 2026
  • creditCassian

Introduced: 21 Jul 2026

CVE-2026-58445  (opens in a new tab)
CWE-203  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade github.com/go-gitea/gitea/routers/api/v1/repo to version 1.27.0 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the DeleteIssueLabel function. An attacker can determine the existence of label IDs across repositories, including those they do not have access to, by observing differing HTTP response codes when attempting to delete labels by ID.

CVSS Base Scores

version 4.0
version 3.1