CVE-2026-52808
Published:June 24, 2026
Updated:June 29, 2026
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.
Affected Packages
https://github.com/gogs/gogs.git (GITHUB):
Affected version(s) >=v0.2.0 <v0.14.3Fix Suggestion:
Update to version v0.14.3gogs.io/gogs (GO):
Affected version(s) >=v0.0.0-20140322175050-61e29226015f <v0.14.3Fix Suggestion:
Update to version v0.14.3github.com/gogs/gogs (GO):
Affected version(s) >=v0.0.0-20140212020143-475e3471b4e8 <v0.14.3Fix Suggestion:
Update to version v0.14.3Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
LOW
EPSS
Base Score:
0.48