What’s Vulnerable › Vulnerabilities
CVE-2026-52799: Gogs: Missing Authorization in Attachment Download
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-24 · updated 2026-06-25
- Weakness: CWE-639
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.
Affected products
- gogs: before 0.14.3
References
- https://github.com/gogs/gogs/releases/tag/v0.14.3
- https://github.com/gogs/gogs/security/advisories/GHSA-p9f5-h3rx-j5qw
- https://github.com/gogs/gogs/security/advisories/GHSA-p9f5-h3rx-j5qw
Get alerted when CVE-2026-52799 or the next vulnerability affects your stack