SB2026062239 - Improper Authorization in Gitea
Published: June 22, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Improper Authorization (CVE-ID: N/A)
CWE-ID: CWE-285 - Improper Authorization
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
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.
Remediation
Install update from vendor's website.