Skip to content
OpenAdvisories
High · 7.6 CVE-2026-34966 BIT-gitea-2026-34966CVE-2026-59765EUVD-2026-53617GHSA-685p-fm6j-c445GO-2026-6039

Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass

Published Aug 5, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
Gitea Gitea ≤ 1.26.4 1.27.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.27.0 1.27.0 GHSA-2wm4-vwp6-v7xc
Go gitea.dev < 1.27.0 1.27.0 GHSA-2wm4-vwp6-v7xc

Advisories 1

References