Skip to main content
← All vulnerabilities
CVE-2026-52802GO-2026-5773GHSA-XXHQ-69MF-W8CR

Gogs: Open Redirect via redirect_to in Gogs

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

Summary

Gogs is an open source self-hosted Git service. Prior to 0.14.3, an open redirect vulnerability exists in Gogs where attacker-controlled redirect_to parameters can bypass validation, allowing redirection to arbitrary external sites. All redirects in Gogs that are validated via the IsSameSite function are vulnerable. The function only inspects the first two characters of the URL string. This check fails to account for directory traversal sequences followed by backslashes. This vulnerability is fixed in 0.14.3.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  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