{"cve":"CVE-2026-52808","nvd":{"published":"2026-06-24T21:16:56.693","modified":"2026-06-25T16:16:38.830","status":"Deferred","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-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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","score":7.1},"cwes":["CWE-269","CWE-863"],"references":["https://github.com/gogs/gogs/commit/6283462119bd8894f1599d70339b5e823f99954a","https://github.com/gogs/gogs/pull/8327","https://github.com/gogs/gogs/releases/tag/v0.14.3","https://github.com/gogs/gogs/security/advisories/GHSA-268j-37xf-pp52","https://github.com/gogs/gogs/security/advisories/GHSA-268j-37xf-pp52"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:41:17.107060303+00:00"},"epss":{"cve":"CVE-2026-52808","score":0.00478,"percentile":0.4126,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-268j-37xf-pp52","url":"https://osv.dev/vulnerability/GHSA-268j-37xf-pp52","summary":"Gogs's write-level collaborators can mutate admin-only repository settings via API","modified":"2026-07-21T13:45:26.542675587Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.14.3"],"fixed":["0.14.3"]}]},{"id":"GO-2026-5065","url":"https://osv.dev/vulnerability/GO-2026-5065","summary":"Gogs's write-level collaborators can mutate admin-only repository settings via API in gogs.io/gogs","modified":"2026-06-25T23:00:15.946003109Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}