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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/gogs/gogs/security/advisories/GHSA-p9f5-h3rx-j5qw exploit vendor-advisory
- https://github.com/gogs/gogs/releases/tag/v0.14.3
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- github.com