CVE-2026-52804 Gogs: Privilege Escalation via Collaboration Access Mode Validation
MediumCVSS 5.5
EPSS 0.50%
- Published
- Updated
- Exploit status
- No public exploit known
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
| 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 |
References
- https://github.com/gogs/gogs/security/advisories/GHSA-4565-r4x7-hg8j vendor-advisory
- https://github.com/gogs/gogs/pull/8227 patch
- https://github.com/gogs/gogs/commit/1fdc9cc28e159135cfa4d6b11ecd5daa0f8ce22b patch
- https://github.com/gogs/gogs/releases/tag/v0.14.3
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com