Broken Access Control in Gogs Open Source Git Service
CVE-2026-25229
5.3MEDIUM
What is CVE-2026-25229?
The Gogs Git service, an open-source self-hosted solution, has a broken access control vulnerability that allows users with write access to alter labels across different repositories. This issue stems from the UpdateLabel function in the Web UI, which inadequately verifies if the labels being modified belong to the correct repository as indicated in the URL, consequently enabling potential cross-repository label tampering attacks. The flaw exists specifically in the label update endpoint and can lead to unauthorized modifications of repository labels. This vulnerability has been addressed in Gogs version 0.14.1.
Affected Version(s)
gogs < 0.14.1
