Incorrect Authorization Affecting github.com/go-gitea/gitea/routers/api/v1/user package, versions <1.27.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOGITEAGITEAROUTERSAPIV1USER-18752934
  • published13 Aug 2026
  • disclosed21 Jul 2026
  • creditsec-reex

Introduced: 21 Jul 2026

CVE-2026-59766  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the getStarredRepos and ListMyTrackedTimes functions. An attacker can access private repository metadata and private issue titles after their access has been revoked by sending requests to the affected API endpoints.

CVSS Base Scores

version 4.0
version 3.1