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

- Severity: High 8.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-21T21:55:31.000Z
- Modified: 2026-11-08T14:02:15.051Z
- Also known as: GHSA-2wm4-vwp6-v7xc, BIT-GITEA-2026-34966, GO-2026-6039
- Related: CVE-2026-59765
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Gitea Gitea: up to 1.26.4 (not affected: 1.27.0)
- code.gitea.io/gitea (Go): before 1.27.0
- gitea.dev (Go): before 1.27.0
- gitea (Bitnami): before 1.27.0

## Every score

- VulnCheck: CVSS:4.0 8.3 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N`
- VulnCheck: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-2wm4-vwp6-v7xc> (exploit, advisory, vendor-advisory, web)
- <https://github.com/go-gitea/gitea> (package, product, web)
- <https://github.com/go-gitea/gitea/commit/b969123b7fac51c88daab5cb64e5b2f4abd53288> (patch, web)
- <https://www.vulncheck.com/advisories/gitea-prior-to-ssrf-via-migration-uri-fetch-bypass> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59765> (advisory)
- <https://github.com/go-gitea/gitea/commit/de4b8277e9cb576f2315fb03b5ab6478b42a1d31> (web)
- <https://blog.gitea.com/gitea-1.27.0-is-released> (web)
- <https://github.com/go-gitea/gitea/releases/tag/v1.27.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34966> (web)

## Sources

- CVE List: [CVE-2026-34966](https://www.cve.org/CVERecord?id=CVE-2026-34966), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-2wm4-vwp6-v7xc](https://github.com/advisories/GHSA-2wm4-vwp6-v7xc), CC-BY-4.0, modified 2026-10-14
- Go Vulnerability Database: [GO-2026-6039](https://pkg.go.dev/vuln/GO-2026-6039), CC-BY-4.0, modified 2026-10-14
- NVD: [CVE-2026-34966](https://nvd.nist.gov/vuln/detail/CVE-2026-34966), Public domain, modified 2026-10-08
- Bitnami Vulnerability Database: [BIT-GITEA-2026-34966](https://osv.dev/vulnerability/BIT-GITEA-2026-34966), Apache-2.0, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-34966 · Whole record: https://cve.day/CVE-2026-34966.json · Rebuilt by cve.day 2026-11-25T22:59:31.188Z
