Improper Authorization in Gitea - #VU135003
Published: June 22, 2026
Gitea
Detailed vulnerability description
The vulnerability allows a remote user to create repositories in an organization without authorization.
The vulnerability exists due to improper access control in the fork repository API endpoint when handling fork requests into organizations. A remote user can send a specially crafted API request to create repositories in an organization without authorization.
The issue affects POST /api/v1/repos/{owner}/{repo}/forks because it checks organization membership but does not verify whether repository creation is permitted for that user in the target organization.