{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-52808","id":"CVE-2026-52808","title":"Gogs: Write-level collaborators can mutate admin-only repository settings via API","description":"Gogs is an open source self-hosted Git service. Prior to 0.14.3, three API endpoints — PATCH /api/v1/repos/:owner/:repo/issue-tracker, PATCH /api/v1/repos/:owner/:repo/wiki, and POST /api/v1/repos/:owner/:repo/mirror-sync — are gated by reqRepoWriter() rather than reqRepoAdmin(). The equivalent operations in the web UI sit behind reqRepoAdmin, which requires AccessMode >= AccessModeAdmin. A write-","descriptionLong":"Gogs is an open source self-hosted Git service. Prior to 0.14.3, three API endpoints — PATCH /api/v1/repos/:owner/:repo/issue-tracker, PATCH /api/v1/repos/:owner/:repo/wiki, and POST /api/v1/repos/:owner/:repo/mirror-sync — are gated by reqRepoWriter() rather than reqRepoAdmin(). The equivalent operations in the web UI sit behind reqRepoAdmin, which requires AccessMode >= AccessModeAdmin. A write-level collaborator (who has AccessMode == AccessModeWrite < AccessModeAdmin) can therefore call these API endpoints directly to disable the native issue tracker or wiki, inject attacker-controlled external tracker/wiki URLs that redirect all repository visitors, or trigger mirror sync — none of which they are authorized to do. This vulnerability is fixed in 0.14.3.","published":"2026-06-24T20:27:41.410Z","updated":"2026-10-28T02:30:26.885487852Z","reserved":"2026-06-08T18:02:19.732Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["gogs"],"affectedProducts":[{"vendor":"gogs","product":"gogs","defaultStatus":null,"versions":[{"version":"< 0.14.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.14.3","all versions"],"fixed":["0.14.3"],"advisory":"GHSA-268j-37xf-pp52"}],"cwes":["CWE-863","CWE-269"],"aliases":["GHSA-268j-37xf-pp52","GO-2026-5065"],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-268j-37xf-pp52","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/gogs/gogs/pull/8327","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/gogs/gogs/commit/6283462119bd8894f1599d70339b5e823f99954a","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52808.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52808","tags":["advisory"]},{"url":"https://github.com/gogs/gogs","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00478,"epssPercentile":0.42015,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-52808","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52808","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-52808","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-268j-37xf-pp52","ok":true,"note":"GHSA-268j-37xf-pp52"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-52808","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}