CVE-2026-52801 Gogs: Ability to import local repositories via Mirror Settings
Authenticated users can bypass migration restrictions to import local repositories via Mirror Settings, exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-52801?
CVE-2026-52801 is a high-severity missing authorization vulnerability in gogs, published on 24 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Gogs is an open source self-hosted Git service. Prior to 0.14.3, the Gogs Mirror Settings functionality provide an alternative way from the well protected New Migration functionality for any authenticated users to import local repositories. This issue stems from a lack of validation of SaveAddress function. This vulnerability is fixed in 0.14.3.
Weakness: CWE-20
Which versions are affected by CVE-2026-52801?
3 open source packages ship an affected version, including gogs.io/gogs.
| Package | Affected | Fixed in |
|---|---|---|
gogs.io/gogs Go | All versions | None |
gogs.io/gogs Go | All versions | 0.14.3 |
gogs.io/gogs Go | All versions | 0.14.3 |
How do I fix CVE-2026-52801?
Upgrade gogs.io/gogs to 0.14.3 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-52801 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-52801 exists.
Sources
Also known as GHSA-wv27-2vqp-j7g5, GO-2026-5724.