Incorrect authorization in gogs - #VU170290
Published: November 25, 2026
Vulnerability details
The vulnerability allows a remote user to retain read and write access to previously accessible repositories after an administrator deactivates the account or prohibits login.
The vulnerability exists due to missing account-status checks in Gogs when authenticating requests with personal access tokens or SSH keys. A remote user can use an existing personal access token through the API, Git over HTTP, or Git LFS, or an existing SSH key through Git over SSH, to continue reading and modifying repository contents after lockout.