CVE-2026-52804
MEDIUM
5.5
CVSS 4.0
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.
Metadata
Severity & Metrics
5.5
MEDIUM CVSS 4.0
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
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| gogs | gogs | — | < 0.14.3 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-193 | cna | CWE-193: Off-by-one Error |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 5.5 | MEDIUM | 4.0 | cna | 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 (4)
- https://github.com/gogs/gogs/security/advisories/GHSA-4565-r4x7-hg8j https://github.com/gogs/gogs/security/advisories/GHSA-4565-r4x7-hg8j
- https://github.com/gogs/gogs/pull/8227 https://github.com/gogs/gogs/pull/8227
- https://github.com/gogs/gogs/commit/1fdc9cc28e159135cfa4d6b11ecd5daa0f8ce22b https://github.com/gogs/gogs/commit/1fdc9cc28e159135cfa4d6b11ecd5daa0f8ce22b
- https://github.com/gogs/gogs/releases/tag/v0.14.3 https://github.com/gogs/gogs/releases/tag/v0.14.3