Authorization bypass through user-controlled key in gogs - #VU170287

 

Authorization bypass through user-controlled key in gogs - #VU170287

Published: November 25, 2026


Vulnerability identifier: #VU170287
CSH Severity: Low
CVSS v4: 6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-639
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

gogs

Remediation

Install security update from vendor's website.

gogs - update to 0.14.4

External References