Skip to main content
← All vulnerabilities
CVE-2026-34966GHSA-2WM4-VWP6-V7XCBIT-GITEA-2026-34966GO-2026-6039

Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass

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

Summary

Gitea prior to 1.27.0 contains a server-side request forgery vulnerability that allows authenticated attackers to bypass SSRF protections by exploiting HTTP fetch operations in migration and OAuth avatar code paths that use Go's default http.Get without a custom DialContext. Attackers can supply arbitrary URLs through release asset download URLs, pull-request patch URLs, or OAuth avatar endpoints to reach internal services, cloud instance-metadata endpoints, or read local files such as the application configuration containing database credentials and signing secrets, with exfiltrated content persisted as migration release assets for later retrieval.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • Gitea Gitea

    through 1.26.4

  • giteaBitnami

    fixed in 1.27.0

  • code.gitea.io/giteaGo

    fixed in 1.27.0

  • gitea.devGo

    fixed in 1.27.0

References 4

GitHub · go-gitea/gitea

vulncheck.com