Incorrect authorization in Gitea - CVE-2026-60010
Published: August 31, 2026
Vulnerability details
The vulnerability allows a remote user to grant unauthorized repository access to organization teams.
The vulnerability exists due to improper access control in the repository-side team-link endpoint when handling PUT requests to /api/v1/repos/{owner}/{repo}/teams/{team}. A remote user can attach organization teams to a repository to grant unauthorized repository access to organization teams.
This occurs when the organization has disabled repository administrators from changing team access, and a non-owner repository administrator has delegated owner-level access through an attached admin team.