CVE-2026-52799

HIGH CVSS 3.1: 7.5 EPSS 0.42%
Updated Jun 25, 2026
Gogs
Parameter Value
CVSS 7.5 (HIGH)
Fixed In 0.14.3
Type CWE-639 (Authorization Bypass), CWE-862 (Missing Authorization)
Vendor Gogs
Public PoC No

Gogs is an open source self-hosted Git service. Prior to 0.14.3, GET /attachments/:uuid returns the raw attachment file without verifying whether the requester has view permission for the associated Issue/Comment/Release or the repository. In a test environment with REQUIRE_SIGNIN_VIEW = false, we confirmed that an unauthenticated user can download attachments belonging to a private repository.

This vulnerability is fixed in 0.14.3.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1