{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-52808: Gogs: Write-level collaborators can mutate admin-only repository settings via API","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-52808","status":"final","version":"1","initial_release_date":"2026-06-24T20:27:41.410Z","current_release_date":"2026-06-24T20:27:41.410Z","revision_history":[{"date":"2026-06-24T20:27:41.410Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-52808 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-52808"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-52808"},{"category":"external","summary":"https://github.com/gogs/gogs/security/advisories/GHSA-268j-37xf-pp52","url":"https://github.com/gogs/gogs/security/advisories/GHSA-268j-37xf-pp52"},{"category":"external","summary":"https://github.com/gogs/gogs/pull/8327","url":"https://github.com/gogs/gogs/pull/8327"},{"category":"external","summary":"https://github.com/gogs/gogs/commit/6283462119bd8894f1599d70339b5e823f99954a","url":"https://github.com/gogs/gogs/commit/6283462119bd8894f1599d70339b5e823f99954a"},{"category":"external","summary":"https://github.com/gogs/gogs/releases/tag/v0.14.3","url":"https://github.com/gogs/gogs/releases/tag/v0.14.3"}]},"product_tree":{"branches":[{"category":"vendor","name":"gogs","branches":[{"category":"product_name","name":"gogs","branches":[{"category":"product_version","name":"< 0.14.3","product":{"name":"gogs gogs < 0.14.3","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:gogs:gogs:\\<_0.14.3:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-52808","title":"Gogs: Write-level collaborators can mutate admin-only repository settings via API","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","baseScore":7.1,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}