Vulnerability · Published Jun 24, 2026 · Assigned by GitHub_M
CVE-2026-52800Gogs: CSRF Leading to Organization Owner Takeover
High 8.8
In plain English
A high-severity cross-site request forgery in gogs from gogs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | gogs.io/gogs | 0.14.3 | GHSA-pwx3-qcgw-vh7h |
| Go | gogs.io/gogs | no fix listed | GO-2026-5556 |
Affected products (as reported)
Weakness: CWE-352 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/gogs/gogs/security/advisories/GHSA-pwx3-qcgw-vh7h x_refsource_CONFIRM
- https://github.com/gogs/gogs/pull/8321 x_refsource_MISC
- https://github.com/gogs/gogs/commit/070df61ecd14c75b0aca93090f860b87ab17ac19 x_refsource_MISC
- https://github.com/gogs/gogs/releases/tag/v0.14.3 x_refsource_MISC