Vulnerability · Published Jun 24, 2026 · Assigned by GitHub_M
CVE-2026-52801Gogs: Ability to import local repositories via Mirror Settings
High 8.1
In plain English
A high-severity improper input validation 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.6% (higher than 47% 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, 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | gogs.io/gogs | 0.14.3 | GHSA-wv27-2vqp-j7g5 |
| Go | gogs.io/gogs | no fix listed | GO-2026-5724 |
Affected products (as reported)
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
References
- https://github.com/gogs/gogs/security/advisories/GHSA-wv27-2vqp-j7g5 x_refsource_CONFIRM
- https://github.com/gogs/gogs/pull/8225 x_refsource_MISC
- https://github.com/gogs/gogs/commit/11e19f28b5c82466fd1689c94344ef4313ee986c x_refsource_MISC
- https://github.com/gogs/gogs/releases/tag/v0.14.3 x_refsource_MISC