Incorrect authorization in Gitea - CVE-2026-24791
Published: June 22, 2026
Vulnerability details
The vulnerability allows a remote user to access or modify private account resources.
The vulnerability exists due to incorrect authorization in the /api/v1/user self routes when handling requests with public-only tokens that carry the route-required scopes. A remote user can send crafted API requests to access or modify private account resources.
The issue affects multiple self routes, including profile, email, SSH key, OAuth application, Actions, runner, webhook, team, timing, subscription, and private repository surfaces.