Missing Authorization in Gitea - CVE-2026-58433
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to grant unauthorized repository access to team members.
The vulnerability exists due to missing authorization in the AddTeamRepository API endpoint when linking a team to a repository through the team-repository endpoint. A remote user can send a crafted api request to grant unauthorized repository access to team members.
The issue bypasses the organization's RepoAdminChangeTeamAccess setting and can expose private repository contents to current and future members of the linked team.