{"id":"CVE-2026-52804","aliases":["GHSA-4565-r4x7-hg8j","GO-2026-5110"],"url":"https://o3.security/vulnerability/CVE-2026-52804","summary":"Gogs: Privilege Escalation via Collaboration Access Mode Validation","details":"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.","published":"2026-06-24T20:20:26.848Z","modified":"2026-08-12T03:51:21.755890302Z","cvss":null,"epss":{"score":0.00499,"percentile":0.41006,"asOf":"2026-09-08"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"gogs.io/gogs","fixedVersion":"0.14.3"}],"fix":{"url":"https://github.com/gogs/gogs/commit/1fdc9cc28e159135cfa4d6b11ecd5daa0f8ce22b","label":"gogs/gogs@1fdc9cc"},"references":[{"type":"WEB","url":"https://github.com/gogs/gogs/releases/tag/v0.14.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52804.json"},{"type":"ADVISORY","url":"https://github.com/gogs/gogs/security/advisories/GHSA-4565-r4x7-hg8j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52804"},{"type":"FIX","url":"https://github.com/gogs/gogs/commit/1fdc9cc28e159135cfa4d6b11ecd5daa0f8ce22b"},{"type":"FIX","url":"https://github.com/gogs/gogs/pull/8227"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:21.755890302Z"}}