Exposure of Private Personal Information to an Unauthorized Actor Affecting github.com/go-gitea/gitea/services/repository 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.21% (11th 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-GITHUBCOMGOGITEAGITEASERVICESREPOSITORY-18677509
  • published12 Aug 2026
  • disclosed21 Jul 2026
  • creditUnknown

Introduced: 21 Jul 2026

CVE-2026-58510  (opens in a new tab)
CWE-281  (opens in a new tab)
CWE-359  (opens in a new tab)

How to fix?

Upgrade github.com/go-gitea/gitea/services/repository to version 1.27.0 or higher.

Overview

Affected versions of this package are vulnerable to Exposure of Private Personal Information to an Unauthorized Actor in the updateRepository function when a repository is transitioned from public to private via the API. An attacker can access sensitive repository metadata, such as description, default branch, language, fork status, counts, mirror metadata, and license list, by querying the subscriptions endpoint with their own credentials even after their access has been revoked.

Note: This is only exploitable if the repository is made private using the API path rather than the web UI.

CVSS Base Scores

version 4.0
version 3.1