# CVE-2026-52804: Gogs: Privilege Escalation via Collaboration Access Mode Validation

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- 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.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-06-23T16:52:30.000Z
- Modified: 2026-11-03T23:17:47.370Z
- Also known as: GHSA-4565-r4x7-hg8j, GO-2026-5110
- Weaknesses: CWE-193
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Gogs is an open source self-hosted Git service. Prior to 0.14.3, a repository admin collaborator can escalate their privileges to owner-level access by exploiting an off-by-one error in the ChangeCollaborationAccessMode function. 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:4.0 5.5 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/gogs/gogs/security/advisories/GHSA-4565-r4x7-hg8j> (advisory, web)
- <https://github.com/gogs/gogs/pull/8227> (web)
- <https://github.com/gogs/gogs/commit/1fdc9cc28e159135cfa4d6b11ecd5daa0f8ce22b> (web)
- <https://github.com/gogs/gogs/releases/tag/v0.14.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-52804> (advisory)
- <https://github.com/gogs/gogs> (package)

## Sources

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

---

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