Vulnerability advisory
CVE-2026-52800
Gogs: CSRF Leading to Organization Owner Takeover
Also known as GHSA-pwx3-qcgw-vh7hGO-2026-5556
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/gogs/gogs ↗ | |
| All commits before 3ba8aca90e17e5410b7e8b227c9f29256ac3e875 | 3ba8aca90e17e5410b7e8b227c9f29256ac3e875 |
| Not specified | 070df61ecd14c75b0aca93090f860b87ab17ac19 |
Also listed as affected (60)
| |
Description
Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization team member management can be performed via GET requests without CSRF protection. If a victim who is an organization owner is logged in and is tricked into visiting a crafted link, an attacker-controlled user can be added to the Owners team. As a result, the attacker gains organization owner–equivalent privileges. This vulnerability is fixed in 0.14.3.
References
- Webgithub.com/gogs/gogs/releases/tag/v0.14.3 ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52800.json ↗
- Advisorygithub.com/gogs/gogs/security/advisories/GHSA-pwx3-qcgw-vh7h ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-52800 ↗
- Fixgithub.com/gogs/gogs/commit/070df61ecd14c75b0aca93090f860b87ab17ac19 ↗
- Fixgithub.com/gogs/gogs/pull/8321 ↗