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.
Severity (CVSS)
| Base score | 5.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-193 — CWE-193: Off-by-one Error
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | < 0.14.3 |
References
- https://github.com/gogs/gogs/security/advisories/GHSA-4565-r4x7-hg8j (x_refsource_CONFIRM)
- https://github.com/gogs/gogs/pull/8227 (x_refsource_MISC)
- https://github.com/gogs/gogs/commit/1fdc9cc28e159135cfa4d6b11ecd5daa0f8ce22b (x_refsource_MISC)
- https://github.com/gogs/gogs/releases/tag/v0.14.3 (x_refsource_MISC)
Generated from the official CVE List on 25 Jun 2026 10:14 UTC.