# CVE-2026-52808: Gogs: Write-level collaborators can mutate admin-only repository settings via API

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- 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.34%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-23T17:03:07.000Z
- Modified: 2026-07-21T13:45:26.542Z
- Also known as: GHSA-268j-37xf-pp52, GO-2026-5065
- Weaknesses: CWE-269, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Gogs is an open source self-hosted Git service. Prior to 0.14.3, three API endpoints — PATCH /api/v1/repos/:owner/:repo/issue-tracker, PATCH /api/v1/repos/:owner/:repo/wiki, and POST /api/v1/repos/:owner/:repo/mirror-sync — are gated by reqRepoWriter() rather than reqRepoAdmin(). The equivalent operations in the web UI sit behind reqRepoAdmin, which requires AccessMode >= AccessModeAdmin. A write-level collaborator (who has AccessMode == AccessModeWrite < AccessModeAdmin) can therefore call these API endpoints directly to disable the native issue tracker or wiki, inject attacker-controlled external tracker/wiki URLs that redirect all repository visitors, or trigger mirror sync — none of which they are authorized to do. 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.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`

## References

- <https://github.com/gogs/gogs/security/advisories/GHSA-268j-37xf-pp52> (exploit, advisory, web)
- <https://github.com/gogs/gogs/pull/8327> (web)
- <https://github.com/gogs/gogs/commit/6283462119bd8894f1599d70339b5e823f99954a> (web)
- <https://github.com/gogs/gogs/releases/tag/v0.14.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-52808> (advisory)
- <https://github.com/gogs/gogs> (package)

## Sources

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

---

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