Incorrect Authorization Affecting github.com/go-gitea/gitea/models/perm/access package, versions <1.27.0-rc0


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.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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOGITEAGITEAMODELSPERMACCESS-19436485
  • published31 Aug 2026
  • disclosed21 Jul 2026
  • creditCassian

Introduced: 21 Jul 2026

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

How to fix?

Upgrade github.com/go-gitea/gitea/models/perm/access to version 1.27.0-rc0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the GetActionsUserRepoPermission function. An attacker can gain unauthorized read access to the contents of a private repository by exploiting a missing permission check when a collaborative owner is configured and a fork pull request workflow is executed. This is only exploitable if the target private repository is configured to trust the base repository's owner as a collaborative owner, and the fork pull request workflow is triggered from a private base repository.

CVSS Base Scores

version 4.0
version 3.1