Skip to content

CVE-2026-34966 Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass

HighCVSS 8.3 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
code.gitea.io/gitea <= 1.26.4 after 1.26.4 Fixed

Affected products

ProductAffected versionsFixed in
code.gitea.io/gitea <= 1.26.4 No fix listed

References