Authorization bypass through user-controlled key in gogs - CVE-2026-52799

 

Authorization bypass through user-controlled key in gogs - CVE-2026-52799

Published: June 19, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to missing authorization in the attachment download endpoint when handling requests for attachment UUIDs. A remote attacker can send a request for a known attachment UUID to disclose sensitive information.

Unauthenticated exploitation requires REQUIRE_SIGNIN_VIEW to be set to false. If sign-in is required, a logged-in user without access to the target repository may still retrieve the attachment.


Affected software

gogs

How to mitigate CVE-2026-52799

Install security update from vendor's website.

gogs - update to 0.14.3

External References

Related Security Bulletins