Server-Side Request Forgery Vulnerability in Gitea by Gitea
CVE-2026-34966

8.3HIGH

Key Information:

Vendor

Gitea

Status
Vendor
CVE Published:
5 August 2026

What is CVE-2026-34966?

Gitea versions prior to 1.27.0 are vulnerable to a server-side request forgery (SSRF) flaw that allows authenticated attackers to circumvent built-in SSRF defenses. By taking advantage of HTTP fetch operations during migration and OAuth avatar processes, attackers can exploit the Go default http.Get method, which lacks a custom DialContext. This vulnerability enables attackers to specify arbitrary URLs through various means, such as release asset download URLs, pull-request patch URLs, and OAuth avatar endpoints. This can lead to unauthorized access to internal services, cloud instance metadata, or sensitive local files, which may contain critical application configurations, database credentials, and signing secrets. Exfiltrated data can later be retrieved from migration release assets.

Affected Version(s)

Gitea 0 <= 1.26.4

Gitea 0 <= 1.26.4

Gitea 1.27.0

References

CVSS V4

Score:
8.3
Severity:
HIGH
Confidentiality:
High
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Khaled Nassar
.