Vulnerability advisory
CVE-2026-52801
Gogs: Ability to import local repositories via Mirror Settings
Also known as GHSA-wv27-2vqp-j7g5GO-2026-5724
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/gogs/gogs ↗ | |
| All commits before 3ba8aca90e17e5410b7e8b227c9f29256ac3e875 | 3ba8aca90e17e5410b7e8b227c9f29256ac3e875 |
| Not specified | 11e19f28b5c82466fd1689c94344ef4313ee986c |
Also listed as affected (60)
| |
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.
References
- Webgithub.com/gogs/gogs/releases/tag/v0.14.3 ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52801.json ↗
- Advisorygithub.com/gogs/gogs/security/advisories/GHSA-wv27-2vqp-j7g5 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-52801 ↗
- Fixgithub.com/gogs/gogs/commit/11e19f28b5c82466fd1689c94344ef4313ee986c ↗
- Fixgithub.com/gogs/gogs/pull/8225 ↗