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

High 8.8 Published Updated

Attackers can trick organization owners into visiting crafted links to gain owner-equivalent privileges via CSRF in team management.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-52800?

CVE-2026-52800 is a high-severity vulnerability in gogs, published on 24 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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.

Weakness: CWE-352

Which versions are affected by CVE-2026-52800?

3 open source packages ship an affected version, including gogs.io/gogs.

PackageAffectedFixed in
gogs.io/gogs GoAll versionsNone
gogs.io/gogs GoAll versions0.14.3
gogs.io/gogs GoAll versions0.14.3

How do I fix CVE-2026-52800?

Upgrade gogs.io/gogs to 0.14.3 or later.

Is CVE-2026-52800 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-52800 exists.

Sources

Also known as GHSA-pwx3-qcgw-vh7h, GO-2026-5556.

Is CVE-2026-52800 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free