{"id":"CVE-2026-52804","published":"2026-06-24T20:20:26Z","modified":"2026-11-03T22:13:27Z","title":"Gogs: Privilege Escalation via Collaboration Access Mode Validation","vendor":"gogs","product":"gogs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00499,"percentile":0.43696,"provenance":"source"},"cwes":[{"id":"CWE-193","name":"Off-by-one Error"}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-4565-r4x7-hg8j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gogs/gogs/pull/8227","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/commit/1fdc9cc28e159135cfa4d6b11ecd5daa0f8ce22b","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3","tags":["x_refsource_MISC"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":8.74},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"gogs","affectedVersions":[{"vendor":"gogs","product":"gogs","versions":["< 0.14.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-26T03:55:46.678499Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":["<0.14.3","all versions"],"patched":["0.14.3"],"from":["GHSA-4565-r4x7-hg8j","GO-2026-5110"],"provenance":"source"}],"summary":{"text":"Gogs, an open source self-hosted Git service, contains an off-by-one error in its ChangeCollaborationAccessMode function, which handles collaboration access mode validation. An attacker who holds repository admin collaborator access, the requirement being an authenticated account with that role, can escalate their privileges to owner-level access, with no network position, user interaction, or special configuration needed beyond that existing role.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:10Z"},"euvd":{"id":"EUVD-2026-39072","exploited":false,"provenance":"source"}}