Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gogs.io/gogs
  4. ›
  5. CVE-2026-52800

CVE-2026-52800: Gogs Vulnerable to CSRF Leading to Organization Owner Takeover

June 23, 2026

In Gogs 0.14.1, 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.


References

  • github.com/advisories/GHSA-pwx3-qcgw-vh7h
  • github.com/gogs/gogs/commit/070df61ecd14c75b0aca93090f860b87ab17ac19
  • github.com/gogs/gogs/pull/8321
  • github.com/gogs/gogs/releases/tag/v0.14.3
  • github.com/gogs/gogs/security/advisories/GHSA-pwx3-qcgw-vh7h
  • nvd.nist.gov/vuln/detail/CVE-2026-52800

Code Behaviors & Features

Detect and mitigate CVE-2026-52800 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.14.3

Fixed versions

  • 0.14.3

Solution

Upgrade to version 0.14.3 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/gogs.io/gogs/CVE-2026-52800.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:01 +0000.