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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-22T23:59:03.000Z
- Modified: 2026-07-21T13:45:25.191Z
- Also known as: GHSA-p9f5-h3rx-j5qw, GO-2026-5536
- Weaknesses: CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gogs gogs: < 0.14.3
- gogs.io/gogs (Go): before 0.14.3; all versions

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/gogs/gogs/security/advisories/GHSA-p9f5-h3rx-j5qw> (exploit, advisory, web)
- <https://github.com/gogs/gogs/releases/tag/v0.14.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-52799> (advisory)
- <https://github.com/gogs/gogs/pull/8320> (web)
- <https://github.com/gogs/gogs/commit/d3ca23f9f33d5710472a775d6dcd3a7bb128bb05> (web)
- <https://github.com/gogs/gogs> (package)

## Sources

- CVE List: [CVE-2026-52799](https://www.cve.org/CVERecord?id=CVE-2026-52799), CVE Terms of Use, modified 2026-06-25
- GitHub Advisory Database: [GHSA-p9f5-h3rx-j5qw](https://github.com/advisories/GHSA-p9f5-h3rx-j5qw), CC-BY-4.0, modified 2026-07-21
- Go Vulnerability Database: [GO-2026-5536](https://pkg.go.dev/vuln/GO-2026-5536), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-52799](https://nvd.nist.gov/vuln/detail/CVE-2026-52799), Public domain, modified 2026-06-25

---

Page: https://cve.day/CVE-2026-52799 · Whole record: https://cve.day/CVE-2026-52799.json · Rebuilt by cve.day 2026-11-25T22:59:25.742Z
