What’s Vulnerable › Vulnerabilities
CVE-2026-52804: Gogs: Privilege Escalation via Collaboration Access Mode Validation
- Severity: medium (CVSS 5.5 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-24 · updated 2026-06-26
- Weakness: CWE-193
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.
Affected products
- gogs: before 0.14.3
References
- https://github.com/gogs/gogs/commit/1fdc9cc28e159135cfa4d6b11ecd5daa0f8ce22b
- https://github.com/gogs/gogs/pull/8227
- https://github.com/gogs/gogs/releases/tag/v0.14.3
- https://github.com/gogs/gogs/security/advisories/GHSA-4565-r4x7-hg8j
Get alerted when CVE-2026-52804 or the next vulnerability affects your stack