Skip to main content
← All vulnerabilities
CVE-2026-52805GO-2026-5387GHSA-G2F5-GJR4-QJVM

Gogs: Migration Redirect Bypass Leads to Internal Repository Theft

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.14.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Gogs is an open source self-hosted Git service. Prior to 0.14.3, a Server-Side Request Forgery (SSRF) vulnerability exists in the repository migration functionality. The application validates only the initially submitted URL hostname, but git clone --mirror follows HTTP redirects. An authenticated user can submit a public URL that redirects to a blocked internal endpoint (e.g., 127.0.0.1), importing the internal repository's contents into an attacker-controlled repository. This vulnerability is fixed in 0.14.3.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • gogs gogs

    fixed in 0.14.3

  • gogs.io/gogsGo

    All versions

  • gogs.io/gogsGo

    fixed in 0.14.3

References 4

GitHub · gogs/gogs