Quick answers
- Is CVE-2026-52801 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-52801 being exploited in the wild.
- How severe is CVE-2026-52801?
- High severity, with a CVSS score of 8.1, published 24 June 2026.
- Which products and versions are affected?
- gogs.io/gogs (Go) < 0.14.3, SEMVER:introduced=0, SEMVER:introduced=0,fixed=0.14.3; Gogs < 0.14.3.
- Is there a fix for CVE-2026-52801?
- Yes. gogs.io/gogs (Go): upgrade to 0.14.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-52801 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-52801?
- Check whether you run gogs.io/gogs (Go) or Gogs at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- gogs.io/gogs (Go): upgrade to 0.14.3 or later
go get gogs.io/gogs@v0.14.3
Technical details
A vulnerability in the 'SaveAddress' function within Gogs Mirror Settings allows for a validation bypass. While the initial 'New Migration' workflow correctly validates repository URLs, the update path for existing mirrors fails to enforce the same checks, such as protocol whitelisting and local network address blocking. An authenticated attacker can exploit this by first creating a legitimate mirror and then updating the address to use the 'file://' protocol to read local repositories or internal network addresses (SSRF). This issue is classified as improper input validation (CWE-20) and is resolved in version 0.14.3 by unifying the validation logic across both creation and update paths.
Affected products
- Gogs Gogs < 0.14.3
Identifiers
- CVE-2026-52801
- GHSA-wv27-2vqp-j7g5
- GO-2026-5724
Timeline
- 2026-04-04: other: Pull request submitted to fix the validation bypass
- 2026-06-07: patched: Version 0.14.3 released
- 2026-06-19: advisory: GitHub Security Advisory published
- 2026-06-24: disclosed: CVE-2026-52801 published to NVD