Improper Restriction of Security Token Assignment in Gitea - CVE-2026-58429
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to improper access control in the organization and permission endpoints when handling requests with a public-only personal access token. A remote privileged user can send a specially crafted request to disclose sensitive information.
The issue affects GET /api/v1/user/orgs and GET /api/v1/users/{username}/orgs/{org}/permissions. A public-only token for a user who belongs to private organizations can reveal private organization membership and organization role details for that same account.