Improper Authorization in Gitea - CVE-2026-70407
Published: August 31, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to improper authorization in the GET /api/v1/orgs endpoint when handling API requests with a token that lacks the read:organization scope. A remote user can send a request to list organization metadata without the required scope to disclose sensitive information.
If the token belongs to a site administrator, the response can include limited and private organization metadata visible to that administrator.