CVE-2026-34966

High

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.

SeverityHigh
CVSS7.6
Exploit probability—
ProductCode.gitea.io/gitea
PublishedAug 5, 2026
First seenAug 5, 2026

How to fix

Affected products

ProductAffected versionsFixed in
code.gitea.io/giteaGov < 1.27.01.27.0
gitea.devGov < 1.27.01.27.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.