CVE-2026-52799
Gogs is an open source self-hosted Git service. Prior to 0.14.3, …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gogs/gogs/security/advisories/GHSA-p9f5-h3rx-j5qw
- github.com/gogs/gogs/pull/8320
- github.com/gogs/gogs/commit/d3ca23f9f33d5710472a775d6dcd3a7bb128bb05
- github.com/gogs/gogs/releases/tag/v0.14.3
- github.com/advisories/GHSA-p9f5-h3rx-j5qw
- nvd.nist.gov/vuln/detail/CVE-2026-52799
- nvd.nist.gov/vuln/detail/CVE-2026-52799
- cve.org/CVERecord?id=CVE-2026-52799
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.