CVE-2026-34966 Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea | <= 1.26.4 | after 1.26.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/gitea | <= 1.26.4 | No fix listed |
References
- Product Advisory product
- GitHub Security Advisory (GHSA-2wm4-vwp6-v7xc) exploit vendor-advisory
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2511770 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-53617 third-party-advisory