Skip to content

CVE-2026-52799 Gogs: Missing Authorization in Attachment Download

HighCVSS 7.5 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

2 packages: 0 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
gogs.io/gogs(Go) < 0.14.3; <= 0.14.2; All versions 0.14.3 Partially fixed
gogs = < 0.14.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
gogs = < 0.14.3 No fix listed
gogs.io/gogs(Go) < 0.14.3 0.14.3
gogs.io/gogs(Go) All versions No fix listed
gogs.io/gogs(Go) <= 0.14.2 No fix listed

References