Authorization bypass through user-controlled key in gogs - #VU170287
Published: November 25, 2026
Vulnerability details
The vulnerability allows a remote user to download attachments from private repositories and detach them from their original records.
The vulnerability exists due to missing authorization in the attachment-binding logic when issue, comment, and release workflows process user-supplied attachment identifiers. A remote user can abuse cross-repository attachment reassignment to bypass download restrictions that rely on the attachment's current repository association.