# CVE-2026-52801: Gogs: Ability to import local repositories via Mirror Settings

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-23T00:03:43.000Z
- Modified: 2026-07-21T13:45:25.145Z
- Also known as: GHSA-wv27-2vqp-j7g5, GO-2026-5724
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gogs gogs: < 0.14.3
- gogs.io/gogs (Go): before 0.14.3; all versions

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- GitHub: CVSS:3.1 8.1 High `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> (exploit, advisory, web)
- <https://github.com/gogs/gogs/pull/8225> (web)
- <https://github.com/gogs/gogs/commit/11e19f28b5c82466fd1689c94344ef4313ee986c> (web)
- <https://github.com/gogs/gogs/releases/tag/v0.14.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-52801> (advisory)
- <https://github.com/gogs/gogs> (package)

## Sources

- CVE List: [CVE-2026-52801](https://www.cve.org/CVERecord?id=CVE-2026-52801), CVE Terms of Use, modified 2026-06-25
- GitHub Advisory Database: [GHSA-wv27-2vqp-j7g5](https://github.com/advisories/GHSA-wv27-2vqp-j7g5), CC-BY-4.0, modified 2026-07-21
- Go Vulnerability Database: [GO-2026-5724](https://pkg.go.dev/vuln/GO-2026-5724), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-52801](https://nvd.nist.gov/vuln/detail/CVE-2026-52801), Public domain, modified 2026-06-25

---

Page: https://cve.day/CVE-2026-52801 · Whole record: https://cve.day/CVE-2026-52801.json · Rebuilt by cve.day 2026-11-25T22:59:25.743Z
